diff options
Diffstat (limited to 'src/zenserver/projectstore/projectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/projectstore.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp index 7fd9bcae0..381f163aa 100644 --- a/src/zenserver/projectstore/projectstore.cpp +++ b/src/zenserver/projectstore/projectstore.cpp @@ -642,7 +642,7 @@ ProjectStore::Oplog::Flush() } void -ProjectStore::Oplog::Scrub(ScrubContext& Ctx) const +ProjectStore::Oplog::ScrubStorage(ScrubContext& Ctx) const { ZEN_UNUSED(Ctx); } @@ -1535,7 +1535,7 @@ ProjectStore::Project::Flush() } void -ProjectStore::Project::Scrub(ScrubContext& Ctx) +ProjectStore::Project::ScrubStorage(ScrubContext& Ctx) { // Scrubbing needs to check all existing oplogs std::vector<std::string> OpLogs = ScanForOplogs(); @@ -1546,7 +1546,7 @@ ProjectStore::Project::Scrub(ScrubContext& Ctx) IterateOplogs([&](const Oplog& Ops) { if (!IsExpired(GcClock::TimePoint::max(), Ops)) { - Ops.Scrub(Ctx); + Ops.ScrubStorage(Ctx); } }); } @@ -1753,7 +1753,7 @@ ProjectStore::Flush() } void -ProjectStore::Scrub(ScrubContext& Ctx) +ProjectStore::ScrubStorage(ScrubContext& Ctx) { DiscoverProjects(); @@ -1773,7 +1773,7 @@ ProjectStore::Scrub(ScrubContext& Ctx) } for (const Ref<Project>& Project : Projects) { - Project->Scrub(Ctx); + Project->ScrubStorage(Ctx); } } |