From 32907f4f99681b8a96f8fac91036e0e406969d0f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Feb 2018 11:48:48 -0800 Subject: [PATCH] objectcache: improve WANObjectCache reap method comments Change-Id: Icec0846b0e66229af39bb819d75144734fd111bf --- includes/libs/objectcache/WANObjectCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index eec766b9d7..58d359cbf3 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -1536,7 +1536,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface { } /** - * Locally set a key to expire soon if it is stale based on $purgeTimestamp + * Set a key to soon expire in the local cluster if it pre-dates $purgeTimestamp * * This sets stale keys' time-to-live at HOLDOFF_TTL seconds, which both avoids * broadcasting in mcrouter setups and also avoids races with new tombstones. @@ -1568,7 +1568,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface { } /** - * Locally set a "check" key to expire soon if it is stale based on $purgeTimestamp + * Set a "check" key to soon expire in the local cluster if it pre-dates $purgeTimestamp * * @param string $key Cache key * @param int $purgeTimestamp UNIX timestamp of purge -- 2.20.1