objectcache: Correct tempTTL comment for getWithSetCallback()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 31 Aug 2015 20:35:09 +0000 (13:35 -0700)
committerKrinkle <krinklemail@gmail.com>
Mon, 31 Aug 2015 20:52:13 +0000 (20:52 +0000)
* This applies regardless of lockTSE

Change-Id: I5adb62fbb956407cd978211a0497e8bd9de3c1a5

includes/libs/objectcache/WANObjectCache.php

index a3bd531..d57e607 100644 (file)
@@ -457,10 +457,9 @@ class WANObjectCache {
         *               Other threads will try to use stale values if possible.
         *               If, on miss, the time since expiration is low, the assumption
         *               is that the key is hot and that a stampede is worth avoiding.
-        *   - tempTTL : when 'lockTSE' is set, this determines the TTL of the temp
-        *               key used to cache values while a key is tombstoned.
-        *               This avoids excessive regeneration of hot keys on delete() but
-        *               may result in stale values.
+        *   - tempTTL : TTL of the temp key used to cache values while a key is tombstoned.
+        *               This avoids excessive regeneration of hot keys on delete() but may
+        *               result in stale values.
         * @return mixed Value to use for the key
         */
        final public function getWithSetCallback(