From: Aaron Schulz Date: Thu, 8 Oct 2015 17:02:02 +0000 (-0700) Subject: Better explain WANObjectCache::TTL_NONE constant X-Git-Tag: 1.31.0-rc.0~9457 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/%24spUrl?a=commitdiff_plain;h=17e8bd3f325d165ec2c7717685f596fe405ff758;p=lhc%2Fweb%2Fwiklou.git Better explain WANObjectCache::TTL_NONE constant Change-Id: I2ce363c957f35e75a17f05b2160979a6fa4aa642 --- 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;