diff options
| author | zousar <[email protected]> | 2025-12-17 23:41:20 -0700 |
|---|---|---|
| committer | zousar <[email protected]> | 2025-12-17 23:41:20 -0700 |
| commit | b4c7cb331a221f51d7445a172dcabe7e36ae1f4c (patch) | |
| tree | ea2582ab58c786382fb30614ac07b023d631cb58 /src/zenserver | |
| parent | 5.7.15 (diff) | |
| download | zen-b4c7cb331a221f51d7445a172dcabe7e36ae1f4c.tar.xz zen-b4c7cb331a221f51d7445a172dcabe7e36ae1f4c.zip | |
Change default limit-overwrite behavior to true
Diffstat (limited to 'src/zenserver')
| -rw-r--r-- | src/zenserver/storage/storageconfig.cpp | 2 | ||||
| -rw-r--r-- | src/zenserver/storage/storageconfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/zenserver/storage/storageconfig.cpp b/src/zenserver/storage/storageconfig.cpp index 3a41ad003..0f8ab1e98 100644 --- a/src/zenserver/storage/storageconfig.cpp +++ b/src/zenserver/storage/storageconfig.cpp @@ -832,7 +832,7 @@ ZenStorageServerCmdLineOptions::AddCacheOptions(cxxopts::Options& options, ZenSt "", "cache-bucket-limit-overwrites", "Whether to require policy flag pattern before allowing overwrites in cache bucket", - cxxopts::value<bool>(ServerOptions.StructuredCacheConfig.BucketConfig.LimitOverwrites)->default_value("false"), + cxxopts::value<bool>(ServerOptions.StructuredCacheConfig.BucketConfig.LimitOverwrites)->default_value("true"), ""); } diff --git a/src/zenserver/storage/storageconfig.h b/src/zenserver/storage/storageconfig.h index acdaa099b..d59d05cf6 100644 --- a/src/zenserver/storage/storageconfig.h +++ b/src/zenserver/storage/storageconfig.h @@ -111,7 +111,7 @@ struct ZenStructuredCacheBucketConfig uint32_t PayloadAlignment = 1u << 4; uint64_t MemCacheSizeThreshold = 1 * 1024; uint64_t LargeObjectThreshold = 128 * 1024; - bool LimitOverwrites = false; + bool LimitOverwrites = true; }; struct ZenStructuredCacheConfig |