diff options
| -rw-r--r-- | zenserver/config.cpp | 2 | ||||
| -rw-r--r-- | zenserver/config.h | 2 | ||||
| -rw-r--r-- | zenstore/include/zenstore/gc.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp index 49240d176..1cbb84452 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -274,7 +274,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("true"), + cxxopts::value<bool>(ServerOptions.GcConfig.Enabled)->default_value("false"), ""); options.add_option("gc", diff --git a/zenserver/config.h b/zenserver/config.h index 97f339a0e..727143489 100644 --- a/zenserver/config.h +++ b/zenserver/config.h @@ -76,7 +76,7 @@ struct ZenGcConfig ZenCasEvictionPolicy Cas; ZenCacheEvictionPolicy Cache; int32_t IntervalSeconds = 60 * 60; - bool Enabled = true; + bool Enabled = false; }; struct ZenServerOptions diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h index b30c70b1f..2ec318e9a 100644 --- a/zenstore/include/zenstore/gc.h +++ b/zenstore/include/zenstore/gc.h @@ -151,7 +151,7 @@ struct GcSchedulerConfig { std::filesystem::path RootDirectory; std::chrono::seconds Interval{3600}; - bool Enabled = true; + bool Enabled = false; }; class GcScheduler |