Marostegui has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/367665 )
Change subject: Parsercache: Purge only certain days
......................................................................
Parsercache: Purge only certain days
Looks like the purging process can take more than 24h.
Let's run it Sunday, Tueday and Thursday
Bug: T167784
Change-Id: I2d0abf8aee1c48f19e33982c2dea776ef3cdcca5
---
M modules/mediawiki/manifests/maintenance/parsercachepurging.pp
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/65/367665/1
diff --git a/modules/mediawiki/manifests/maintenance/parsercachepurging.pp
b/modules/mediawiki/manifests/maintenance/parsercachepurging.pp
index 2180d6e..7e0ae32 100644
--- a/modules/mediawiki/manifests/maintenance/parsercachepurging.pp
+++ b/modules/mediawiki/manifests/maintenance/parsercachepurging.pp
@@ -7,7 +7,8 @@
user => $::mediawiki::users::web,
minute => 0,
hour => 1,
- # Every day, Purge entries older than 22d * 86400s/d = 1900800s
+ weekday => ['0', '2', '4']
+ # Sunday, Tuesday, Thursday: Purge entries older than 22d * 86400s/d =
1900800s
command => '/usr/local/bin/mwscript purgeParserCache.php --wiki=aawiki
--age=1900800 --msleep 500 >/dev/null 2>&1',
}
}
--
To view, visit https://gerrit.wikimedia.org/r/367665
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d0abf8aee1c48f19e33982c2dea776ef3cdcca5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits