diff options
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/gc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h index 2ec318e9a..3c03c7feb 100644 --- a/zenstore/include/zenstore/gc.h +++ b/zenstore/include/zenstore/gc.h @@ -60,8 +60,8 @@ public: bool IsDeletionMode() const; void SetDeletionMode(bool NewState); - bool IsContainerGcEnabled() const; - void SetContainerGcEnabled(bool NewState); + bool CollectSmallObjects() const; + void CollectSmallObjects(bool NewState); GcClock::TimePoint Time() const; @@ -151,7 +151,9 @@ struct GcSchedulerConfig { std::filesystem::path RootDirectory; std::chrono::seconds Interval{3600}; - bool Enabled = false; + std::chrono::seconds MaxCacheDuration{86400}; + bool CollectSmallObjects = false; + bool Enabled = false; }; class GcScheduler |