aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-06-01 10:23:43 +0200
committerDan Engelbrecht <[email protected]>2022-06-01 10:23:43 +0200
commitf8d110ad0ebf43bbae18db5bef5c38f3c37f5234 (patch)
treeac681345d584682f8a7e63526bb6c6c03b4c8c2d /zenserver/config.h
parentMerge pull request #115 from EpicGames/de/block-gc-of-current-write-block (diff)
downloadzen-f8d110ad0ebf43bbae18db5bef5c38f3c37f5234.tar.xz
zen-f8d110ad0ebf43bbae18db5bef5c38f3c37f5234.zip
Make it possible to configure GC monitoring interval
command line: --gc-monitor-interval-seconds lua: monitorintervalseconds
Diffstat (limited to 'zenserver/config.h')
-rw-r--r--zenserver/config.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/zenserver/config.h b/zenserver/config.h
index 49f039d8d..a07bba9a4 100644
--- a/zenserver/config.h
+++ b/zenserver/config.h
@@ -96,10 +96,11 @@ struct ZenGcConfig
{
ZenCasEvictionPolicy Cas;
ZenCacheEvictionPolicy Cache;
- int32_t IntervalSeconds = 0;
- bool CollectSmallObjects = true;
- bool Enabled = true;
- uint64_t DiskReserveSize = 1ul << 28;
+ int32_t MonitorIntervalSeconds = 30;
+ int32_t IntervalSeconds = 0;
+ bool CollectSmallObjects = true;
+ bool Enabled = true;
+ uint64_t DiskReserveSize = 1ul << 28;
};
struct ZenServerOptions