dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673c076
)
Better explain WANObjectCache::TTL_NONE constant
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 8 Oct 2015 17:02:02 +0000
(10:02 -0700)
committer
BryanDavis
<bdavis@wikimedia.org>
Sat, 10 Oct 2015 00:12:37 +0000
(
00:12
+0000)
Change-Id: I2ce363c957f35e75a17f05b2160979a6fa4aa642
includes/libs/objectcache/WANObjectCache.php
patch
|
blob
|
history
diff --git
a/includes/libs/objectcache/WANObjectCache.php
b/includes/libs/objectcache/WANObjectCache.php
index
6c69b14
..
c9a3f30
100644
(file)
--- 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;