diff options
Diffstat (limited to 'zenserver')
| -rw-r--r-- | zenserver/config.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp index 057b26c5b..d7233a6f4 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -462,35 +462,35 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions) options.add_option("gc", "", "gc-small-objects", - "Whether garbage collection is enabled or not.", + "Whether garbage collection of small objects is enabled or not.", cxxopts::value<bool>(ServerOptions.GcConfig.CollectSmallObjects)->default_value("true"), ""); options.add_option("gc", "", "gc-interval-seconds", - "Garbage collection interval in seconds. Default set to 0 (Off).", - cxxopts::value<int32_t>(ServerOptions.GcConfig.IntervalSeconds)->default_value("0"), + "Garbage collection interval in seconds. Default set to 3600 (1 hour).", + cxxopts::value<int32_t>(ServerOptions.GcConfig.IntervalSeconds)->default_value("3600"), ""); options.add_option("gc", "", "gc-cache-duration-seconds", - "Max duration in seconds before Z$ entries get evicted.", - cxxopts::value<int32_t>(ServerOptions.GcConfig.Cache.MaxDurationSeconds)->default_value("86400"), + "Max duration in seconds before Z$ entries get evicted. Default set to 1209600 (2 weeks)", + cxxopts::value<int32_t>(ServerOptions.GcConfig.Cache.MaxDurationSeconds)->default_value("1209600"), ""); options.add_option("gc", "", "disk-reserve-size", - "Size of gc disk reserve in bytes.", + "Size of gc disk reserve in bytes. Default set to 268435456 (256 Mb).", cxxopts::value<uint64_t>(ServerOptions.GcConfig.DiskReserveSize)->default_value("268435456"), ""); options.add_option("gc", "", "gc-monitor-interval-seconds", - "Garbage collection monitoring interval in seconds.", + "Garbage collection monitoring interval in seconds. Default set to 30 (30 seconds)", cxxopts::value<int32_t>(ServerOptions.GcConfig.MonitorIntervalSeconds)->default_value("30"), ""); |