aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-15 16:50:46 -0400
committerGitHub <[email protected]>2023-09-15 22:50:46 +0200
commite98c2965db684c83e65ac2f4b319bb79dd895044 (patch)
tree815c48ec5a33d0ebd554c15b73b793dbb5e1e399 /src/zenserver/zenserver.cpp
parentv0.2.22 (diff)
downloadzen-e98c2965db684c83e65ac2f4b319bb79dd895044.tar.xz
zen-e98c2965db684c83e65ac2f4b319bb79dd895044.zip
add DiskWriteBlocker to structured cache store log writer (#408)
* add DiskWriteBlocker to structured cache store log writer * changelog
Diffstat (limited to 'src/zenserver/zenserver.cpp')
-rw-r--r--src/zenserver/zenserver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp
index 1baedd6eb..988f72273 100644
--- a/src/zenserver/zenserver.cpp
+++ b/src/zenserver/zenserver.cpp
@@ -886,7 +886,8 @@ ZenServer::InitializeStructuredCache(const ZenServerOptions& ServerOptions)
ZenCacheStore::Configuration{.BasePath = m_DataRoot / "cache",
.AllowAutomaticCreationOfNamespaces = true,
.EnableWriteLog = ServerOptions.StructuredCacheWriteLogEnabled,
- .EnableAccessLog = ServerOptions.StructuredCacheAccessLogEnabled});
+ .EnableAccessLog = ServerOptions.StructuredCacheAccessLogEnabled},
+ m_GcManager.GetDiskWriteBlocker());
const ZenUpstreamCacheConfig& UpstreamConfig = ServerOptions.UpstreamCacheConfig;