dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
objectcache: add setMockTime() method to BagOStuff/WANObjectCache
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
IExpiringStore.php
diff --git
a/includes/libs/objectcache/IExpiringStore.php
b/includes/libs/objectcache/IExpiringStore.php
index
0e09f16
..
7bab20a
100644
(file)
--- a/
includes/libs/objectcache/IExpiringStore.php
+++ b/
includes/libs/objectcache/IExpiringStore.php
@@
-30,6
+30,7
@@
*/
interface IExpiringStore {
// Constants for TTL values, in seconds
*/
interface IExpiringStore {
// Constants for TTL values, in seconds
+ const TTL_SECOND = 1;
const TTL_MINUTE = 60;
const TTL_HOUR = 3600;
const TTL_DAY = 86400; // 24 * 3600
const TTL_MINUTE = 60;
const TTL_HOUR = 3600;
const TTL_DAY = 86400; // 24 * 3600