aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 20:54:46 +0200
committerStefan Boberg <[email protected]>2023-05-15 20:54:46 +0200
commit583b308a1e605da9bd70484767d6134891b9c3ba (patch)
tree5769264a7f637823c39e62cd61a2b44316102d5a /src/zenserver/cache/structuredcache.cpp
parentsome HttpClient changes eliminating some cpr helpers (diff)
downloadzen-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/cache/structuredcache.cpp')
-rw-r--r--src/zenserver/cache/structuredcache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenserver/cache/structuredcache.cpp b/src/zenserver/cache/structuredcache.cpp
index 9f2a448bb..c9f942033 100644
--- a/src/zenserver/cache/structuredcache.cpp
+++ b/src/zenserver/cache/structuredcache.cpp
@@ -356,7 +356,7 @@ HttpStructuredCacheService::Flush()
}
void
-HttpStructuredCacheService::Scrub(ScrubContext& Ctx)
+HttpStructuredCacheService::ScrubStorage(ScrubContext& Ctx)
{
if (m_LastScrubTime == Ctx.ScrubTimestamp())
{
@@ -365,8 +365,8 @@ HttpStructuredCacheService::Scrub(ScrubContext& Ctx)
m_LastScrubTime = Ctx.ScrubTimestamp();
- m_CidStore.Scrub(Ctx);
- m_CacheStore.Scrub(Ctx);
+ m_CidStore.ScrubStorage(Ctx);
+ m_CacheStore.ScrubStorage(Ctx);
}
void