From 17e8bd3f325d165ec2c7717685f596fe405ff758 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 8 Oct 2015 10:02:02 -0700 Subject: [PATCH] Better explain WANObjectCache::TTL_NONE constant Change-Id: I2ce363c957f35e75a17f05b2160979a6fa4aa642 --- includes/libs/objectcache/WANObjectCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 6c69b14fb5..c9a3f30b0d 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -86,7 +86,7 @@ class WANObjectCache { /** Default time-since-expiry on a miss that makes a key "hot" */ const LOCK_TSE = 1; - /** Idiom for set()/getWithSetCallback() TTL */ + /** Idiom for set()/getWithSetCallback() TTL being "forever" */ const TTL_NONE = 0; /** Idiom for getWithSetCallback() callbacks to avoid calling set() */ const TTL_UNCACHEABLE = -1; -- 2.20.1