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:
082ed03
)
Lower pcTTL in checkRedirect() to 30
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 25 Mar 2016 19:35:42 +0000
(12:35 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 26 Mar 2016 10:43:21 +0000
(10:43 +0000)
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
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalRepo.php
b/includes/filerepo/LocalRepo.php
index
d038d93
..
8248699
100644
(file)
--- 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