Adamw has uploaded a new change for review.

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


Change subject: force renewal of stomp connection before dequeuing.
......................................................................

force renewal of stomp connection before dequeuing.

We believe there may be a race condition where we were reading from the 
previous queue subscription.

Change-Id: I2744d45094b94f3537bca5e0c02980eb996fb901
---
M sites/all/modules/wmf_common/queue.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/12/73012/1

diff --git a/sites/all/modules/wmf_common/queue.php 
b/sites/all/modules/wmf_common/queue.php
index 4ba6584..8dca757 100644
--- a/sites/all/modules/wmf_common/queue.php
+++ b/sites/all/modules/wmf_common/queue.php
@@ -15,7 +15,7 @@
         )
     );
     try {
-        $con = wmf_common_stomp_connection();
+        $con = wmf_common_stomp_connection( TRUE );
     }
     catch ( Exception $ex ) {
         wmf_common_failmail( 'wmf_common', 'STOMP_BAD_CONNECTION totally 
lacking a stomp server: ' . $ex->getMessage() );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2744d45094b94f3537bca5e0c02980eb996fb901
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>

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

Reply via email to