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

Change subject: redis job queue for labs
......................................................................


redis job queue for labs

Job queue has been broken in labs because it uses jobqueue-pmtpa.php
which is for production.  So this change is not going to cause any
more troubles and might as well fix it :-]

bug: 41530
Change-Id: Idd23ab27fa9d886411908086e5ad0b08cba7ab1b
---
A wmf-config/jobqueue-labs.php
1 file changed, 24 insertions(+), 0 deletions(-)

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



diff --git a/wmf-config/jobqueue-labs.php b/wmf-config/jobqueue-labs.php
new file mode 100644
index 0000000..97b1ca8
--- /dev/null
+++ b/wmf-config/jobqueue-labs.php
@@ -0,0 +1,24 @@
+<?php
+# WARNING: This file is publically viewable on the web. Do not put private 
data here.
+
+if( $wmfRealm == 'labs' ) {  # safe guard
+
+$wgJobTypeConf['default'] = array(
+       'class'       => 'JobQueueRedis',
+       'redisServer' => '10.4.0.83', # deployment-redisdb
+       'redisConfig' => array(
+               'connectTimeout' => 1,
+               'password' => $wmgRedisPassword,
+       )
+);
+
+$wgJobQueueAggregator = array(
+       'class'       => 'JobQueueAggregatorRedis',
+       'redisServer' => '10.4.0.83', # deployment-redisdb
+       'redisConfig' => array(
+               'connectTimeout' => 1,
+               'password' => $wmgRedisPassword,
+       )
+);
+
+} # end safe guard

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idd23ab27fa9d886411908086e5ad0b08cba7ab1b
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to