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
Merge "Move seperators from digits transforms to seperator transforms"
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
WANObjectCache.php
diff --git
a/includes/libs/objectcache/WANObjectCache.php
b/includes/libs/objectcache/WANObjectCache.php
index
f5c561f
..
ae7f36c
100644
(file)
--- a/
includes/libs/objectcache/WANObjectCache.php
+++ b/
includes/libs/objectcache/WANObjectCache.php
@@
-1558,7
+1558,7
@@
class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
return $minTTL; // no last-modified time provided
}
- $age =
t
ime() - $mtime;
+ $age =
$this->getCurrentT
ime() - $mtime;
return (int)min( $maxTTL, max( $minTTL, $factor * $age ) );
}