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:
db1079a
)
MessageCache: Increase APC 'messages-big' expiry from 1min to 1h
author
Timo Tijhof
<krinklemail@gmail.com>
Tue, 27 Aug 2019 15:51:54 +0000
(16:51 +0100)
committer
Krinkle
<krinklemail@gmail.com>
Tue, 27 Aug 2019 22:58:59 +0000
(22:58 +0000)
Bug: T218207
Change-Id: Ic5d2a556912e2a16ee899eec3a0670f00dec9a8c
includes/cache/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/MessageCache.php
b/includes/cache/MessageCache.php
index
661ab87
..
4a41eab
100644
(file)
--- a/
includes/cache/MessageCache.php
+++ b/
includes/cache/MessageCache.php
@@
-1087,7
+1087,7
@@
class MessageCache {
$fname = __METHOD__;
return $this->srvCache->getWithSetCallback(
$this->srvCache->makeKey( 'messages-big', $hash, $dbKey ),
- BagOStuff::TTL_
MINUTE
,
+ BagOStuff::TTL_
HOUR
,
function () use ( $code, $dbKey, $hash, $fname ) {
return $this->wanCache->getWithSetCallback(
$this->bigMessageCacheKey( $hash, $dbKey ),