jenkins-bot has submitted this change and it was merged. Change subject: Added some jobqueue comments ......................................................................
Added some jobqueue comments Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3 --- M wmf-config/jobqueue-codfw.php M wmf-config/jobqueue-eqiad.php 2 files changed, 5 insertions(+), 1 deletion(-) Approvals: Gilles: Looks good to me, but someone else must approve MaxSem: Looks good to me, approved jenkins-bot: Verified diff --git a/wmf-config/jobqueue-codfw.php b/wmf-config/jobqueue-codfw.php index 136b041..d79ef9e 100644 --- a/wmf-config/jobqueue-codfw.php +++ b/wmf-config/jobqueue-codfw.php @@ -9,6 +9,7 @@ // the MediaWiki config to direct traffic there. $wgJobTypeConf['default'] = array( 'class' => 'JobQueueFederated', + // Do NOT remove entries from here if they are still present in 'partitionsBySection' 'configByPartition' => array( 'rdb1' => array( 'class' => 'JobQueueRedis', @@ -34,6 +35,7 @@ ), ), 'sectionsByWiki' => array(), // default + // Weights for partitions in use: use this to depool redis masters 'partitionsBySection' => array( 'default' => array( 'rdb1' => 50, 'rdb2' => 50 ), ) diff --git a/wmf-config/jobqueue-eqiad.php b/wmf-config/jobqueue-eqiad.php index 4229719..ee91b11 100644 --- a/wmf-config/jobqueue-eqiad.php +++ b/wmf-config/jobqueue-eqiad.php @@ -22,6 +22,7 @@ // the MediaWiki config to direct traffic there. $wgJobTypeConf['default'] = array( 'class' => 'JobQueueFederated', + // Do NOT remove entries from here if they are still present in 'partitionsBySection' 'configByPartition' => array( # rdb 1 @@ -84,7 +85,8 @@ ) + $wmgRedisQueueBaseConfig, ), 'sectionsByWiki' => array(), // default - 'partitionsBySection' => array( // weights for partitions in use + // Weights for partitions in use: use this to depool redis masters + 'partitionsBySection' => array( 'default' => array( 'rdb1-6379' => 50, 'rdb1-6380' => 50, -- To view, visit https://gerrit.wikimedia.org/r/275378 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I02c8f88f6b2c3d0cc4f4fea26bb5c53c43b118c3 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Elukey <ltosc...@wikimedia.org> Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: Gilles <gdu...@wikimedia.org> Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits