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:
f6e0799
)
filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup"
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 16 Jul 2019 04:06:42 +0000
(21:06 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 21 Jul 2019 14:59:36 +0000
(14:59 +0000)
Given the item size, it is best to keep the cache limit small
Change-Id: Icf57a5e54046d4909535f772f1556452ccb122df
includes/filerepo/ForeignAPIRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/ForeignAPIRepo.php
b/includes/filerepo/ForeignAPIRepo.php
index
8ff8143
..
314c4c3
100644
(file)
--- a/
includes/filerepo/ForeignAPIRepo.php
+++ b/
includes/filerepo/ForeignAPIRepo.php
@@
-580,7
+580,7
@@
class ForeignAPIRepo extends FileRepo {
return $html;
},
- [ 'pcTTL' => WANObjectCache::TTL_PROC_LONG ]
+ [ 'pc
Group' => 'http-get:3', 'pc
TTL' => WANObjectCache::TTL_PROC_LONG ]
);
}