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

Change subject: Fix example syntax for DefaultQueueServer config
......................................................................


Fix example syntax for DefaultQueueServer config

I wasn't as clever as I thought, there is no "backend" key, all top-level
options are passed to the backend constructor.

Change-Id: I445678e7ad76f90d0ec693b51270ce679be4a3b2
---
M DonationInterface.php
1 file changed, 4 insertions(+), 6 deletions(-)

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



diff --git a/DonationInterface.php b/DonationInterface.php
index bae4eca..38c8a42 100644
--- a/DonationInterface.php
+++ b/DonationInterface.php
@@ -566,14 +566,12 @@
  * @global array $wgDonationInterfaceDefaultQueueServer
  *
  * Common development defaults for the queue server.
- * TODO: Default to a builtin backend such as Memcache or pure-PHP.
+ * TODO: Default to a builtin backend such as PDO?
  */
 $wgDonationInterfaceDefaultQueueServer = array(
-       'backend' => array(
-               'type' => '\PHPQueue\Backend\Stomp',
-               'uri' => 'tcp://localhost:61613',
-               'read_timeout' => '1',
-       ),
+       'type' => '\PHPQueue\Backend\Stomp',
+       'uri' => 'tcp://localhost:61613',
+       'read_timeout' => '1',
        'expiry' => '30 days',
 );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I445678e7ad76f90d0ec693b51270ce679be4a3b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Awight <awi...@wikimedia.org>
Gerrit-Reviewer: AndyRussG <andrew.green...@gmail.com>
Gerrit-Reviewer: Awight <awi...@wikimedia.org>
Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org>
Gerrit-Reviewer: Katie Horn <kh...@wikimedia.org>
Gerrit-Reviewer: Ssmith <ssm...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to