aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-10-02 10:58:47 +0200
committerGitHub <[email protected]>2023-10-02 10:58:47 +0200
commit3259b5a7f90f374ea75af469f07a29020d6c9c2d (patch)
tree3437f75b24c531905cf4b4ce5957d685ce3c2e08 /src/zenserver/config.h
parentSentry username fix (#435) (diff)
downloadzen-3259b5a7f90f374ea75af469f07a29020d6c9c2d.tar.xz
zen-3259b5a7f90f374ea75af469f07a29020d6c9c2d.zip
lightweight gc (#431)
- Feature: Add lightweight GC that only removes items from cache/project store without cleaning up data referenced in Cid store - Add `skipcid` parameter to http endpoint `admin/gc`, defaults to "false" - Add `--skipcid` option to `zen gc` command, defaults to false - Add `--gc-lightweight-interval-seconds` option to zenserver
Diffstat (limited to 'src/zenserver/config.h')
-rw-r--r--src/zenserver/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenserver/config.h b/src/zenserver/config.h
index f5438489d..bb6e20bb6 100644
--- a/src/zenserver/config.h
+++ b/src/zenserver/config.h
@@ -89,6 +89,7 @@ struct ZenGcConfig
bool Enabled = true;
uint64_t DiskReserveSize = 1ul << 28;
uint64_t DiskSizeSoftLimit = 0;
+ int32_t LightweightIntervalSeconds = 0;
uint64_t MinimumFreeDiskSpaceToAllowWrites = 1ul << 28;
};