diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenstore/gc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp index ec1eb3722..3f3adeb82 100644 --- a/src/zenstore/gc.cpp +++ b/src/zenstore/gc.cpp @@ -2161,6 +2161,8 @@ GcScheduler::CollectGarbage(const GcClock::TimePoint& CacheExpireTime, ZEN_WARN( "Disk space is very low and we have no GC reserve, skipping GC as this requires at least some space to write to '{}'", m_Config.RootDirectory); + m_LastGcTime = GcClock::Now(); + m_LastLightweightGcTime = m_LastGcTime; return true; // Treat this as a success as we don't want to silence any errors that happens when we are no longer low on // disk space } |