diff options
| author | Stefan Boberg <[email protected]> | 2023-05-15 20:54:46 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-05-15 20:54:46 +0200 |
| commit | 583b308a1e605da9bd70484767d6134891b9c3ba (patch) | |
| tree | 5769264a7f637823c39e62cd61a2b44316102d5a /src/zenserver/zenserver.cpp | |
| parent | some HttpClient changes eliminating some cpr helpers (diff) | |
| download | zen-583b308a1e605da9bd70484767d6134891b9c3ba.tar.xz zen-583b308a1e605da9bd70484767d6134891b9c3ba.zip | |
minor GC API cleanup
Scrub -> ScrubStorage
Trigger -> TriggerGc (to make relationship to TriggerScrub clearer)
Diffstat (limited to 'src/zenserver/zenserver.cpp')
| -rw-r--r-- | src/zenserver/zenserver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp index ce5e4e964..c4a4d1d41 100644 --- a/src/zenserver/zenserver.cpp +++ b/src/zenserver/zenserver.cpp @@ -427,7 +427,7 @@ public: { // This is disabled for now, awaiting better scheduling // - // Scrub(); + // ScrubStorage(); if (m_ProcessMonitor.IsActive()) { @@ -594,15 +594,15 @@ public: } } - void Scrub() + void ScrubStorage() { Stopwatch Timer; ZEN_INFO("Storage validation STARTING"); ScrubContext Ctx; - m_CidStore->Scrub(Ctx); - m_ProjectStore->Scrub(Ctx); - m_StructuredCacheService->Scrub(Ctx); + m_CidStore->ScrubStorage(Ctx); + m_ProjectStore->ScrubStorage(Ctx); + m_StructuredCacheService->ScrubStorage(Ctx); const uint64_t ElapsedTimeMs = Timer.GetElapsedTimeMs(); |