aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-16 12:56:14 +0200
committerDan Engelbrecht <[email protected]>2022-05-16 12:56:14 +0200
commit4be7a0cb5b83732e780a9247636a27172f2fb3e1 (patch)
tree7473421a81898eb450c21647f167156a6f699799 /zenserver/cache/structuredcachestore.h
parentValidate max length for namespace name (diff)
downloadzen-4be7a0cb5b83732e780a9247636a27172f2fb3e1.tar.xz
zen-4be7a0cb5b83732e780a9247636a27172f2fb3e1.zip
use "default" as the default namespace
remove ns_ prefix for namespaces on disk and in requests
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 b6d06432c..787cf2187 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 = "";
- static constexpr std::string_view NamespacePrefix = "ns_";
+ static constexpr std::string_view DefaultNamespace = "default";
+ static constexpr std::string_view NamespacePrefix = "";
ZenCacheStore(CasGc& Gc, std::filesystem::path BasePath);
~ZenCacheStore();