From: Aaron Schulz Date: Fri, 25 Mar 2016 19:35:42 +0000 (-0700) Subject: Lower pcTTL in checkRedirect() to 30 X-Git-Tag: 1.31.0-rc.0~7494 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=e2427d34877e19bd1ee1672c3a697c0d08c4a2fe;p=lhc%2Fweb%2Fwiklou.git Lower pcTTL in checkRedirect() to 30 The process cache does not see other purges, so lower this for sanity in case of long-running scripts. Change-Id: I545ce6b160bb10ffe1877284a397a247c960d885 --- diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index d038d937c4..82486993ad 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -227,7 +227,7 @@ class LocalRepo extends FileRepo { ? Title::makeTitle( $row->rd_namespace, $row->rd_title )->getDBkey() : ''; // negative cache }, - [ 'pcTTL' => $expiry ] + [ 'pcTTL' => 30 ] ); // @note: also checks " " for b/c