diff options
| author | Dan Engelbrecht <[email protected]> | 2024-12-05 14:45:44 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-12-05 14:45:44 +0100 |
| commit | e4fc54356fc002256d4a59f238868c6a8841c140 (patch) | |
| tree | 749d3e3ecd6769e7edb12bb51ed28356e07d159a /src/zenserver/cache/httpstructuredcache.h | |
| parent | projectstore getchunks rpc with modtag (#244) (diff) | |
| download | zen-e4fc54356fc002256d4a59f238868c6a8841c140.tar.xz zen-e4fc54356fc002256d4a59f238868c6a8841c140.zip | |
global open process cache for projectstore (#257)
* move openprocess cache to central location
* enable openprocesscache in projectstore so "getchunks" can send filehandles when requested
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.h')
| -rw-r--r-- | src/zenserver/cache/httpstructuredcache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenserver/cache/httpstructuredcache.h b/src/zenserver/cache/httpstructuredcache.h index 812162efa..13c1d6475 100644 --- a/src/zenserver/cache/httpstructuredcache.h +++ b/src/zenserver/cache/httpstructuredcache.h @@ -75,7 +75,8 @@ public: HttpStatsService& StatsService, HttpStatusService& StatusService, UpstreamCache& UpstreamCache, - const DiskWriteBlocker* InDiskWriteBlocker); + const DiskWriteBlocker* InDiskWriteBlocker, + OpenProcessCache& InOpenProcessCache); ~HttpStructuredCacheService(); virtual const char* BaseUri() const override; @@ -122,7 +123,7 @@ private: metrics::OperationTiming m_UpstreamGetRequestTiming; CacheStats m_CacheStats; const DiskWriteBlocker* m_DiskWriteBlocker = nullptr; - OpenProcessCache m_OpenProcessCache; + OpenProcessCache& m_OpenProcessCache; CacheRpcHandler m_RpcHandler; void ReplayRequestRecorder(const CacheRequestContext& Context, cache::IRpcRequestReplayer& Replayer, uint32_t ThreadCount); |