[MediaWiki-commits] [Gerrit] Throttle Parsoid template updates - change (operations/mediawiki-config)

2013-07-14 Thread GWicke (Code Review)
GWicke has uploaded a new change for review.

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


Change subject: Throttle Parsoid template updates
..

Throttle Parsoid template updates

* Reduce the number of titles per job from 50 to 10
* Only process at most 500k titles

Change-Id: Ief91b7d88f8627fa966520ba7500246ec3f21329
---
M wmf-config/CommonSettings.php
1 file changed, 6 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 6584d8d..d1f93d6 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1947,6 +1947,12 @@
$wgParsoidWikiPrefix = $wgDBname;
// Set to something between 0 (process all updates) and 1 (skip all 
updates).
$wgParsoidSkipRatio = 0;
+
+   // Throttle rate of template updates by setting the number of tests per
+   // job to something lowish, and limiting the maximum number of updates 
to
+   // process per template edit
+   $wgParsoidCacheUpdateTitlesPerJob = 10;
+   $wgParsoidMaxBacklinksInvalidate = 50;
 }
 
 if ( $wmgUseTemplateData ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief91b7d88f8627fa966520ba7500246ec3f21329
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GWicke 

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


[MediaWiki-commits] [Gerrit] Throttle Parsoid template updates - change (operations/mediawiki-config)

2013-07-14 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Throttle Parsoid template updates
..


Throttle Parsoid template updates

* Reduce the number of titles per job from 50 to 10
* Only process at most 500k titles

Change-Id: Ief91b7d88f8627fa966520ba7500246ec3f21329
---
M wmf-config/CommonSettings.php
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  GWicke: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 6584d8d..d1f93d6 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1947,6 +1947,12 @@
$wgParsoidWikiPrefix = $wgDBname;
// Set to something between 0 (process all updates) and 1 (skip all 
updates).
$wgParsoidSkipRatio = 0;
+
+   // Throttle rate of template updates by setting the number of tests per
+   // job to something lowish, and limiting the maximum number of updates 
to
+   // process per template edit
+   $wgParsoidCacheUpdateTitlesPerJob = 10;
+   $wgParsoidMaxBacklinksInvalidate = 50;
 }
 
 if ( $wmgUseTemplateData ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ief91b7d88f8627fa966520ba7500246ec3f21329
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GWicke 
Gerrit-Reviewer: Catrope 
Gerrit-Reviewer: GWicke 
Gerrit-Reviewer: Mark Bergsma 
Gerrit-Reviewer: jenkins-bot

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