aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 21:24:25 +0200
committerStefan Boberg <[email protected]>2023-05-15 21:24:25 +0200
commit2c608ee41a735117014d670f9eea0f62d34f1411 (patch)
treec2d4a9c6db72d930267fc2c6546835749b6a3110 /src/zenserver/cache/structuredcache.cpp
parentadded static_assert for BlockStoreDiskLocation (diff)
downloadzen-2c608ee41a735117014d670f9eea0f62d34f1411.tar.xz
zen-2c608ee41a735117014d670f9eea0f62d34f1411.zip
added scrubbing related logging
Diffstat (limited to 'src/zenserver/cache/structuredcache.cpp')
-rw-r--r--src/zenserver/cache/structuredcache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenserver/cache/structuredcache.cpp b/src/zenserver/cache/structuredcache.cpp
index c9f942033..566df73c1 100644
--- a/src/zenserver/cache/structuredcache.cpp
+++ b/src/zenserver/cache/structuredcache.cpp
@@ -363,6 +363,10 @@ HttpStructuredCacheService::ScrubStorage(ScrubContext& Ctx)
return;
}
+ ZenCacheStore::Info Info = m_CacheStore.GetInfo();
+
+ ZEN_INFO("scrubbing '{}'", Info.Config.BasePath);
+
m_LastScrubTime = Ctx.ScrubTimestamp();
m_CidStore.ScrubStorage(Ctx);