aboutsummaryrefslogtreecommitdiff
path: root/zenserver
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
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')
-rw-r--r--zenserver/cache/structuredcachestore.cpp3
-rw-r--r--zenserver/projectstore.cpp5
2 files changed, 4 insertions, 4 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);
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp
index 6b18bce3f..bee143bd8 100644
--- a/zenserver/projectstore.cpp
+++ b/zenserver/projectstore.cpp
@@ -972,9 +972,8 @@ void
ProjectStore::GatherReferences(GcContext& GcCtx)
{
Stopwatch Timer;
- const auto Guard = MakeGuard([this, &Timer] {
- ZEN_INFO("project store gathered all references in {}", NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
- });
+ const auto Guard =
+ MakeGuard([this, &Timer] { ZEN_INFO("project store gathered all references in {}", NiceTimeSpanMs(Timer.GetElapsedTimeMs())); });
DiscoverProjects();