From: Derk-Jan Hartman Date: Sun, 16 Jan 2011 16:32:58 +0000 (+0000) Subject: Add comments with how values are calculated. Follow up of r76111 X-Git-Tag: 1.31.0-rc.0~32512 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=dc259cda937fbcf17553793cb4a6fe03f0550210;p=lhc%2Fweb%2Fwiklou.git Add comments with how values are calculated. Follow up of r76111 --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index c4aed10833..40f95285ed 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -29,9 +29,9 @@ class ForeignAPIRepo extends FileRepo { var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' ); /* Check back with Commons after a day */ - var $apiThumbCacheExpiry = 86400; + var $apiThumbCacheExpiry = 86400; /* 24*60*60 */ /* Redownload thumbnail files after a month */ - var $fileCacheExpiry = 2629743; + var $fileCacheExpiry = 2592000; /* 86400*30 */ /* Local image directory */ var $directory; var $thumbDir;