Better explain WANObjectCache::TTL_NONE constant
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Oct 2015 17:02:02 +0000 (10:02 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Sat, 10 Oct 2015 00:12:37 +0000 (00:12 +0000)
Change-Id: I2ce363c957f35e75a17f05b2160979a6fa4aa642

includes/libs/objectcache/WANObjectCache.php

index 6c69b14..c9a3f30 100644 (file)
@@ -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;