aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-08-17 09:30:40 +0200
committerGitHub <[email protected]>2023-08-17 09:30:40 +0200
commit6b06cffdb84fdb9b010e6aefc642db763b6386d5 (patch)
tree193ba716a459fa838f71cf5af19dd6483614066a /src/zenserver/cache/structuredcachestore.h
parentchangelog (diff)
downloadzen-6b06cffdb84fdb9b010e6aefc642db763b6386d5.tar.xz
zen-6b06cffdb84fdb9b010e6aefc642db763b6386d5.zip
skip upstream logic early if we have no upstream endpoints (#359)
* Skip upstream logic early if we have not upstream endpoints * make cache store logging of CbObjects async * changelog
Diffstat (limited to 'src/zenserver/cache/structuredcachestore.h')
-rw-r--r--src/zenserver/cache/structuredcachestore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenserver/cache/structuredcachestore.h b/src/zenserver/cache/structuredcachestore.h
index 7ce195ef5..040b71c95 100644
--- a/src/zenserver/cache/structuredcachestore.h
+++ b/src/zenserver/cache/structuredcachestore.h
@@ -36,6 +36,8 @@ namespace zen {
******************************************************************************/
+class WorkerThreadPool;
+
/* Z$ namespace
A namespace scopes a set of buckets, and would typically be used to isolate
@@ -171,6 +173,9 @@ private:
GcManager& m_Gc;
Configuration m_Configuration;
+
+ std::unique_ptr<WorkerThreadPool> m_AsyncLogging;
+ Latch m_PendingAsyncLogging;
};
void z$_forcelink();