aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-14 09:41:04 +0100
committerPer Larsson <[email protected]>2021-12-14 09:41:04 +0100
commit5f8136b25040046c466c95cbec3874594ff91d0c (patch)
treeb6cdbf23a5074c18ed7565e8c81709a9df350c0c /zenserver/config.cpp
parentRemove Cid to CAS chunk mapping after GC. (diff)
downloadzen-5f8136b25040046c466c95cbec3874594ff91d0c.tar.xz
zen-5f8136b25040046c466c95cbec3874594ff91d0c.zip
Fixed bug in z$ service returning partial cache records and enable small object GC by default.
Diffstat (limited to 'zenserver/config.cpp')
-rw-r--r--zenserver/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index e57a97c8b..5e5676494 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -314,7 +314,7 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
"",
"gc-small-objects",
"Whether garbage collection is enabled or not.",
- cxxopts::value<bool>(ServerOptions.GcConfig.CollectSmallObjects)->default_value("false"),
+ cxxopts::value<bool>(ServerOptions.GcConfig.CollectSmallObjects)->default_value("true"),
"");
options.add_option("gc",