r74179 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74178‎ | r74179 | r74180 >
Date:23:34, 2 October 2010
Author:siebrand
Status:ok
Tags:
Comment:
Fix broken r74177 because it needs a constant and address CR comment on r71412 properly. Documented that 604800 is 7*24*3600
Modified paths:
  • /trunk/phase3/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MessageCache.php
@@ -52,7 +52,7 @@
5353 * better sample, but also takes longer to adapt changes. The counts
5454 * are aggregrated per day, regardless of the value of this variable.
5555 */
56 - protected static $mAdaptiveDataAge = 7*24*3600;
 56+ protected static $mAdaptiveDataAge = 604800; // Is 7*24*3600
5757
5858 /**
5959 * Filter the tail of less used messages that are requested more seldom

Follow-up revisions

RevisionCommit summaryAuthorDate
r814441.17: Back out r71412 (adaptive message cache) and its followups r71418, r741...catrope11:58, 3 February 2011
r925491.18: Back out adaptive message cache (r71412, r71418, r74177, r74179) by mer...catrope18:35, 19 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71412Added $wgAdaptiveMessageCache to avoid caching huge pile of never used messag...nikerabbit16:41, 21 August 2010
r74177Use 7*24*3600 instead of 604800....siebrand23:23, 2 October 2010

Status & tagging log