diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-30 09:59:34 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-30 09:59:34 +0200 |
| commit | ebec68d49b2c968ecf684973b33f9f3d1d56b702 (patch) | |
| tree | 39de29b8d6b24d071d38254e40b5ee850b7c1299 /src/zenserver/config.h | |
| parent | optimize startup time (#175) (diff) | |
| download | zen-ebec68d49b2c968ecf684973b33f9f3d1d56b702.tar.xz zen-ebec68d49b2c968ecf684973b33f9f3d1d56b702.zip | |
gc command attachment options (#176)
* zen command - add options to control meta data cache when triggering gc
Diffstat (limited to 'src/zenserver/config.h')
| -rw-r--r-- | src/zenserver/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zenserver/config.h b/src/zenserver/config.h index e7b734001..58a31bbb0 100644 --- a/src/zenserver/config.h +++ b/src/zenserver/config.h @@ -78,6 +78,8 @@ struct ZenGcConfig bool SingleThreaded = false; static constexpr uint16_t GcMaxAttachmentPassCount = 256; uint16_t AttachmentPassCount = 1; + bool StoreCacheAttachmentMetaData = false; + bool StoreProjectAttachmentMetaData = false; }; struct ZenOpenIdProviderConfig @@ -119,12 +121,12 @@ struct ZenStructuredCacheConfig uint64_t MemTargetFootprintBytes = 512 * 1024 * 1024; uint64_t MemTrimIntervalSeconds = 60; uint64_t MemMaxAgeSeconds = gsl::narrow<uint64_t>(std::chrono::seconds(std::chrono::days(1)).count()); - bool StoreAttachmentMetaData = false; }; struct ZenProjectStoreConfig { - bool StoreAttachmentMetaData = false; + bool StoreCacheAttachmentMetaData = false; + bool StoreProjectAttachmentMetaData = false; }; struct ZenWorkspacesConfig |