aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/gc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/gc.cpp')
-rw-r--r--src/zenstore/gc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index 1ddb25364..185bc2118 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -2858,7 +2858,7 @@ GcScheduler::CollectGarbage(const GcClock::TimePoint& CacheExpireTime,
{
ZEN_WARN("writing gc scheduler state ran out of disk space: '{}'", SystemError.what());
}
- else if (RetryCount == 0)
+ else if (RetryCount == 2)
{
ZEN_ERROR("writing gc scheduler state failed with system error exception: '{}' ({})",
SystemError.what(),
@@ -2877,7 +2877,7 @@ GcScheduler::CollectGarbage(const GcClock::TimePoint& CacheExpireTime,
}
catch (const std::exception& Ex)
{
- if (RetryCount == 0)
+ if (RetryCount == 2)
{
ZEN_ERROR("writing gc scheduler state failed with: '{}'", Ex.what());
}