diff options
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index c3f10c9cd..3a65feb0f 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -1156,7 +1156,7 @@ ProjectStore::CollectGarbage(GcContext& GcCtx) if (!GcCtx.IsDeletionMode()) { - ZEN_INFO("garbage collect DISABLED, for '{}' ", m_ProjectBasePath.string()); + ZEN_DEBUG("garbage collect DISABLED, for '{}' ", m_ProjectBasePath.string()); return; } @@ -2756,7 +2756,7 @@ TEST_CASE("project.store.gc") } { - GcContext GcCtx; + GcContext GcCtx(GcClock::Now() - std::chrono::hours(24)); ProjectStore.GatherReferences(GcCtx); size_t RefCount = 0; GcCtx.IterateCids([&RefCount](const IoHash&) { RefCount++; }); @@ -2769,7 +2769,7 @@ TEST_CASE("project.store.gc") std::filesystem::remove(Project1FilePath); { - GcContext GcCtx; + GcContext GcCtx(GcClock::Now() - std::chrono::hours(24)); ProjectStore.GatherReferences(GcCtx); size_t RefCount = 0; GcCtx.IterateCids([&RefCount](const IoHash&) { RefCount++; }); |