Katie Horn has submitted this change and it was merged.
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(-)
Approvals:
Katie Horn: Verified; Looks good to me, approved
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: merged
Gerrit-Change-Id: I2744d45094b94f3537bca5e0c02980eb996fb901
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits