Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/333308 )

Change subject: Always reconnect before sending queue messages
......................................................................

Always reconnect before sending queue messages

Avoid holding a connection open long enough to be closed by the
server for idleness.

TODO: should php-queue or predis implement an idle_timeout option
that would automatically reconnect before reads or writes after
an idle period?

Bug: T155150
Change-Id: Ie0c6d33b2585c511f7db0e5040f822b4ca42d1fd
---
M sites/all/modules/globalcollect_audit/globalcollect_audit.module
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/08/333308/1

diff --git a/sites/all/modules/globalcollect_audit/globalcollect_audit.module 
b/sites/all/modules/globalcollect_audit/globalcollect_audit.module
index e14d443..34eab3a 100644
--- a/sites/all/modules/globalcollect_audit/globalcollect_audit.module
+++ b/sites/all/modules/globalcollect_audit/globalcollect_audit.module
@@ -2004,7 +2004,7 @@
 
        wmf_common_set_message_source( $body, 'audit', 'GlobalCollect WR1 
Auditor' );
 
-       $newQueue = Configuration::getDefaultConfig()->object( $configKey, true 
);
+       $newQueue = Configuration::getDefaultConfig()->object( $configKey, 
false );
        $newQueue->push( $body );
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0c6d33b2585c511f7db0e5040f822b4ca42d1fd
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
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