aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-24 09:31:24 +0200
committerGitHub <[email protected]>2022-05-24 09:31:24 +0200
commit9d8dc900cdff55aab6aa57a96347a27cac69c1df (patch)
tree7173db607bbc5c18f53d2a4d19e72daae0da8252 /zenserver/zenserver.cpp
parentUpdate README to direct to CODING for contributing (#104) (diff)
parentAutomatically create namespaces on requests (if enabled via configuration) (diff)
downloadzen-9d8dc900cdff55aab6aa57a96347a27cac69c1df.tar.xz
zen-9d8dc900cdff55aab6aa57a96347a27cac69c1df.zip
Merge pull request #102 from EpicGames/de/auto-create-namespaces
Automatically create namespaces on requests (if enabled via configuration)
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 05ae4a09a..a924d9c81 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -754,7 +754,9 @@ ZenServer::InitializeStructuredCache(const ZenServerOptions& ServerOptions)
using namespace std::literals;
ZEN_INFO("instantiating structured cache service");
- m_CacheStore = std::make_unique<ZenCacheStore>(m_CasGc, m_DataRoot / "cache");
+ m_CacheStore = std::make_unique<ZenCacheStore>(
+ m_CasGc,
+ ZenCacheStore::Configuration{.BasePath = m_DataRoot / "cache", .AllowAutomaticCreationOfNamespaces = true});
const ZenUpstreamCacheConfig& UpstreamConfig = ServerOptions.UpstreamCacheConfig;