From 8e932456035f575d3d96c9451008bafd0855f29b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 31 Aug 2015 13:35:09 -0700 Subject: [PATCH] objectcache: Correct tempTTL comment for getWithSetCallback() * This applies regardless of lockTSE Change-Id: I5adb62fbb956407cd978211a0497e8bd9de3c1a5 --- includes/libs/objectcache/WANObjectCache.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index a3bd531671..d57e607a49 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -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( -- 2.20.1