aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-02 11:01:12 +0200
committerDan Engelbrecht <[email protected]>2022-05-02 11:01:12 +0200
commit80a39f97f465465466ccd2d5914421db55efb80e (patch)
tree891a826b28a17c908ef29ffb45109dfccf27c561 /zenserver/cache/structuredcachestore.cpp
parentuse std::vector<std::pair>> instead of map (diff)
downloadzen-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.cpp3
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);
}