aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-31 10:20:06 +0200
committerDan Engelbrecht <[email protected]>2022-03-31 11:29:28 +0200
commit27224ec4da12a7d80db13d8b2f3a67ec9335ee14 (patch)
tree9bb2c3bfef12182374e14ce15741bb9a8c027bf5 /zenserver/cache/structuredcachestore.cpp
parentTruncate migrated and new blocks after gc to save disk space (diff)
downloadzen-27224ec4da12a7d80db13d8b2f3a67ec9335ee14.tar.xz
zen-27224ec4da12a7d80db13d8b2f3a67ec9335ee14.zip
Don hard fail on removing files we no longer care about
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 95e9e2dba..eec548f1b 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -193,7 +193,8 @@ void
ZenCacheStore::GatherReferences(GcContext& GcCtx)
{
Stopwatch Timer;
- const auto Guard = MakeGuard([this, &Timer] { ZEN_INFO("cache gathered all references from '{}' in {}", m_RootDir, NiceTimeSpanMs(Timer.GetElapsedTimeMs())); });
+ const auto Guard = MakeGuard(
+ [this, &Timer] { ZEN_INFO("cache gathered all references from '{}' in {}", m_RootDir, NiceTimeSpanMs(Timer.GetElapsedTimeMs())); });
access_tracking::AccessTimes AccessTimes;
m_MemLayer.GatherAccessTimes(AccessTimes);