diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-02 11:01:12 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-02 11:01:12 +0200 |
| commit | 80a39f97f465465466ccd2d5914421db55efb80e (patch) | |
| tree | 891a826b28a17c908ef29ffb45109dfccf27c561 /zenserver/cache/structuredcachestore.cpp | |
| parent | use std::vector<std::pair>> instead of map (diff) | |
| download | zen-80a39f97f465465466ccd2d5914421db55efb80e.tar.xz zen-80a39f97f465465466ccd2d5914421db55efb80e.zip | |
add back gc space reclaim call
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index 9cfb5fbf3..5b08ed83c 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -1687,7 +1687,8 @@ ZenCacheDiskLayer::CacheBucket::CollectGarbage(GcContext& GcCtx) m_Index[Entry.Key].Location = Entry.Location; } } - }); + }, + [&GcCtx]() { return GcCtx.CollectSmallObjects(); }); GcCtx.DeletedCas(DeletedChunks); } |