X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FLocalRepo.php;h=eaec15129cefbf29f7482d0a372cdb3879744da8;hb=941827459f9a1c5ad3b696666daa9d55a1583660;hp=d24aa24cbacb41ab88f53922e767614d6f53ab58;hpb=a5b975edd132e52ee8ce1c725d8195da941c8b7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index d24aa24cba..eaec15129c 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -226,7 +226,8 @@ class LocalRepo extends FileRepo { return ( $row && $row->rd_namespace == NS_FILE ) ? Title::makeTitle( $row->rd_namespace, $row->rd_title )->getDBkey() : ''; // negative cache - } + }, + [ 'pcTTL' => WANObjectCache::TTL_PROC_LONG ] ); // @note: also checks " " for b/c