r80415 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80414‎ | r80415 | r80416 >
Date:16:32, 16 January 2011
Author:hartman
Status:ok
Tags:
Comment:
Add comments with how values are calculated. Follow up of r76111
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignAPIRepo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignAPIRepo.php
@@ -29,9 +29,9 @@
3030
3131 var $fileFactory = array( 'ForeignAPIFile', 'newFromTitle' );
3232 /* Check back with Commons after a day */
33 - var $apiThumbCacheExpiry = 86400;
 33+ var $apiThumbCacheExpiry = 86400; /* 24*60*60 */
3434 /* Redownload thumbnail files after a month */
35 - var $fileCacheExpiry = 2629743;
 35+ var $fileCacheExpiry = 2592000; /* 86400*30 */
3636 /* Local image directory */
3737 var $directory;
3838 var $thumbDir;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76111InstantCommons: API caching expires after a day. Now check for existing prese...hartman16:26, 5 November 2010

Status & tagging log