From: Aaron Schulz Date: Thu, 15 Feb 2018 19:48:48 +0000 (-0800) Subject: objectcache: improve WANObjectCache reap method comments X-Git-Tag: 1.31.0-rc.0~599^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=32907f4f99681b8a96f8fac91036e0e406969d0f objectcache: improve WANObjectCache reap method comments Change-Id: Icec0846b0e66229af39bb819d75144734fd111bf --- 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