Tim Starling has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/51684


Change subject: Make the parser cache expire at 30 days again
......................................................................

Make the parser cache expire at 30 days again

Per bug 44570 comment 32. Doesn't fix the bug, just brings the parser
cache expiry into line with the max age sent to purgeParserCache.php
and, apparently, available disk space. Also avoids a massive CPU spike
occuring next time purgeParserCache.php runs. Some cleanup of the
parsercache database is still necessary, to adjust the expiry time of
objects expiring in 2014, so that they can be removed by
purgeParserCache.php.

Change-Id: I61a706d931ff2e53108c082da88fa91b82ea1214
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/84/51684/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 6e3f466..55f24f6 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8628,7 +8628,7 @@
 ),
 
 'wgParserCacheExpireTime' => array(
-       'default' => 86400 * 365,
+       'default' => 86400 * 30,
 ),
 
 # Captcha ...

-- 
To view, visit https://gerrit.wikimedia.org/r/51684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I61a706d931ff2e53108c082da88fa91b82ea1214
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Tim Starling <tstarl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to