From e2427d34877e19bd1ee1672c3a697c0d08c4a2fe Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 25 Mar 2016 12:35:42 -0700 Subject: [PATCH] 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 --- includes/filerepo/LocalRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1