aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-10 07:35:28 +0100
committerPer Larsson <[email protected]>2021-12-10 07:35:28 +0100
commit680d0a3b3c8e76762a0e8b19a94fd854429b91a6 (patch)
tree483fa84d88086baeeec0bfb3782cfea7c3e1c3dd /zenserver/config.cpp
parentIgnore clangd cache directory. (diff)
downloadzen-680d0a3b3c8e76762a0e8b19a94fd854429b91a6.tar.xz
zen-680d0a3b3c8e76762a0e8b19a94fd854429b91a6.zip
Set GC default enabled and interval set to zero (off).
Diffstat (limited to 'zenserver/config.cpp')
-rw-r--r--zenserver/config.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index 3aef3f499..e57a97c8b 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -307,7 +307,7 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
"",
"gc-enabled",
"Whether garbage collection is enabled or not.",
- cxxopts::value<bool>(ServerOptions.GcConfig.Enabled)->default_value("false"),
+ cxxopts::value<bool>(ServerOptions.GcConfig.Enabled)->default_value("true"),
"");
options.add_option("gc",
@@ -320,8 +320,8 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
options.add_option("gc",
"",
"gc-interval-seconds",
- "Garbage collection interval. Default is 1h.",
- cxxopts::value<int32_t>(ServerOptions.GcConfig.IntervalSeconds)->default_value("3600"),
+ "Garbage collection interval in seconds. Default set to 0 (Off).",
+ cxxopts::value<int32_t>(ServerOptions.GcConfig.IntervalSeconds)->default_value("0"),
"");
options.add_option("gc",