From: Aaron Schulz Date: Tue, 16 Jul 2019 04:06:42 +0000 (-0700) Subject: filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup" X-Git-Tag: 1.34.0-rc.0~909^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=99d4dbc0fa043ad3c19421d527581a1cad6a1413;p=lhc%2Fweb%2Fwiklou.git filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup" Given the item size, it is best to keep the cache limit small Change-Id: Icf57a5e54046d4909535f772f1556452ccb122df --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 8ff8143c2b..314c4c30f0 100644 --- 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 ] + [ 'pcGroup' => 'http-get:3', 'pcTTL' => WANObjectCache::TTL_PROC_LONG ] ); }