MessageCache: Increase APC 'messages-big' expiry from 1min to 1h
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 27 Aug 2019 15:51:54 +0000 (16:51 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 27 Aug 2019 22:58:59 +0000 (22:58 +0000)
Bug: T218207
Change-Id: Ic5d2a556912e2a16ee899eec3a0670f00dec9a8c

includes/cache/MessageCache.php

index 661ab87..4a41eab 100644 (file)
@@ -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 ),