aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-16 13:10:10 +0200
committerDan Engelbrecht <[email protected]>2022-05-16 13:10:10 +0200
commit2f69a30c936bc475bf85daded3706dc67f2e8a0f (patch)
tree5f1161e6ea39218424904427b998fd92dbd5a7e7 /zenserver/cache/structuredcachestore.h
parentuse "default" as the default namespace (diff)
downloadzen-2f69a30c936bc475bf85daded3706dc67f2e8a0f.tar.xz
zen-2f69a30c936bc475bf85daded3706dc67f2e8a0f.zip
use ns_ prefix on disk only
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
-rw-r--r--zenserver/cache/structuredcachestore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 787cf2187..232e8b9a8 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -356,8 +356,8 @@ private:
class ZenCacheStore final : public GcStorage, public GcContributor
{
public:
- static constexpr std::string_view DefaultNamespace = "default";
- static constexpr std::string_view NamespacePrefix = "";
+ static constexpr std::string_view DefaultNamespace = "default";
+ static constexpr std::string_view NamespaceDiskPrefix = "ns_";
ZenCacheStore(CasGc& Gc, std::filesystem::path BasePath);
~ZenCacheStore();