Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/184360
Change subject: Enable wikibase change dispatcher and pruning for test.wikidata ...................................................................... Enable wikibase change dispatcher and pruning for test.wikidata no reason not to have this also for test.wikidata and would actually be useful for testing purposes. Change-Id: Iafd8436bf52d2ef26147f3df69e6d1dfc708e2c3 --- M manifests/misc/maintenance.pp 1 file changed, 17 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/60/184360/1 diff --git a/manifests/misc/maintenance.pp b/manifests/misc/maintenance.pp index a786f03..6a0a512 100644 --- a/manifests/misc/maintenance.pp +++ b/manifests/misc/maintenance.pp @@ -196,7 +196,7 @@ minute => [0,15,30,45], } - # Run the dispatcher script every 5 minutes + # Run the iispatcher script every 5 minutes # This handles inserting jobs into client job queue, which then process the changes cron { 'wikibase-dispatch-changes3': ensure => $ensure, @@ -214,6 +214,22 @@ minute => '*/5', } + cron { 'wikibase-dispatch-changes-test': + ensure => $ensure, + # second dispatcher to inject wikidata changes wikibase clients (e.g. wikipedia) to be processed as jobs there + command => '/usr/local/bin/mwscript extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php --wiki testwikidatawiki --max-time 900 --batch-size 200 --dispatch-interval 30 2>&1 >> /var/log/wikidata/dispatcher-testwikidata.log', + user => 'apache', + minute => '*/5', + } + + cron { 'wikibase-repo-prune-test': + ensure => $ensure, + # prunes the wb_changes table in testwikidatawiki db + command => '/usr/local/bin/mwscript extensions/Wikidata/extensions/Wikibase/repo/maintenance/pruneChanges.php --wiki testwikidatawiki --number-of-days=3 2>&1 >> /var/log/wikidata/prune-testwikidata.log', + user => 'apache', + minute => [0,15,30,45], + } + cron { 'wikibase-rebuild-entityperpage': ensure => $ensure, command => '/usr/local/bin/mwscript extensions/Wikidata/extensions/Wikibase/repo/maintenance/rebuildEntityPerPage.php --wiki wikidatawiki --force 2>&1 >> /var/log/wikidata/rebuildEpp.log', -- To view, visit https://gerrit.wikimedia.org/r/184360 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iafd8436bf52d2ef26147f3df69e6d1dfc708e2c3 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits