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:
b463681
)
objectcache: Add WANObjectCache::TTL_NONE constant for readability
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 13 May 2015 05:33:57 +0000
(22:33 -0700)
committer
Krinkle
<krinklemail@gmail.com>
Wed, 13 May 2015 13:37:11 +0000
(13:37 +0000)
Change-Id: I07592ebb2794a7a8efc0fd1d718c1b5ca3d9b83f
includes/libs/objectcache/WANObjectCache.php
patch
|
blob
|
history
diff --git
a/includes/libs/objectcache/WANObjectCache.php
b/includes/libs/objectcache/WANObjectCache.php
index
3099dce
..
e1f64ba
100755
(executable)
--- a/
includes/libs/objectcache/WANObjectCache.php
+++ b/
includes/libs/objectcache/WANObjectCache.php
@@
-74,6
+74,9
@@
class WANObjectCache {
/** Seconds to keep lock keys around */
const LOCK_TTL = 5;
+ /** Idiom for set()/getWithSetCallback() TTL */
+ const TTL_NONE = 0;
+
/** Cache format version number */
const VERSION = 1;