Ejegg has uploaded a new change for review.

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

Change subject: Move jobs-paypal under default queue key
......................................................................

Move jobs-paypal under default queue key

So we can use it while running in generic contexts like the 'requeue
delated jobs' maintenance script. Note: matching production settings
change is ready to go.

Change-Id: I24a279d6c21bba03e4347ef015d00d13e5632cb3
---
M SmashPig.yaml
1 file changed, 9 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig 
refs/changes/16/312316/1

diff --git a/SmashPig.yaml b/SmashPig.yaml
index e945b59..f078a36 100644
--- a/SmashPig.yaml
+++ b/SmashPig.yaml
@@ -92,6 +92,15 @@
             constructor-parameters:
                 - jobs
 
+        jobs-paypal:
+            class: PHPQueue\Backend\Predis
+            constructor-parameters:
+                -
+                    <<: *REDIS
+                    # FIXME: This queue thing is introspected at times, and at
+                    # others not.  Make it consistent (and invisible).
+                    queue: jobs-paypal
+
         verified:
             class: SmashPig\Core\DataStores\MultiQueueWriter
             constructor-parameters:
@@ -362,16 +371,6 @@
     # For testing, override with
     # postback-url: https://ipnpb.sandbox.paypal.com/cgi-bin/webscr
     postback-url: https://ipnpb.paypal.com/cgi-bin/webscr
-
-    data-store:
-        jobs-paypal:
-            class: PHPQueue\Backend\Predis
-            constructor-parameters:
-                -
-                    <<: *REDIS
-                    # FIXME: This queue thing is introspected at times, and at
-                    # others not.  Make it consistent (and invisible).
-                    queue: jobs-paypal
 
     var_map:
         payment_date: date # needs strtotime(payment_date)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I24a279d6c21bba03e4347ef015d00d13e5632cb3
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

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

Reply via email to