jenkins-bot has submitted this change and it was merged.

Change subject: Enabled use of redis for null test jobs.
......................................................................


Enabled use of redis for null test jobs.

Change-Id: I160085e9cb7fb1762f63c896f0a0ff115e50a200
---
M wmf-config/jobqueue-eqiad.php
1 file changed, 10 insertions(+), 3 deletions(-)

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



diff --git a/wmf-config/jobqueue-eqiad.php b/wmf-config/jobqueue-eqiad.php
index 0b70e2c..d1d89ff 100644
--- a/wmf-config/jobqueue-eqiad.php
+++ b/wmf-config/jobqueue-eqiad.php
@@ -1,10 +1,17 @@
 <?php
 # WARNING: This file is publically viewable on the web. Do not put private 
data here.
+
+// Note: on server failure, this should be switched to the slave
+$wgJobTypeConf['null'] = array(
+       'class'       => 'JobQueueRedis',
+       'redisServer' => '10.64.32.76', # rdb1001 (master)
+       #'redisServer' => '10.64.32.77', # rdb1002 (slave)
+       'redisConfig' => array( 'connectTimeout' => 1 )
+);
+// Note: on server failure, this should be changed to any other redis server
 $wgJobQueueAggregator = array(
        'class'       => 'JobQueueAggregatorRedis',
        'redisServer' => '10.64.0.180', # mc1001
-       'redisConfig' => array(
-               'connectTimeout' => 1
-       )
+       'redisConfig' => array( 'connectTimeout' => 1 )
 );
 # vim: set sts=4 sw=4 et :

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I160085e9cb7fb1762f63c896f0a0ff115e50a200
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to