jenkins-bot has submitted this change and it was merged.
Change subject: Connection should use setConnectTimeout and not setTimeout
......................................................................
Connection should use setConnectTimeout and not setTimeout
Change-Id: I2082d7e81ec803e315cfb865ef23ee7c2d7e33b9
---
M includes/Connection.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
EBernhardson: Looks good to me, approved
jenkins-bot: Verified
Objections:
Cindy-the-browser-test-bot: There's a problem with this change, please improve
diff --git a/includes/Connection.php b/includes/Connection.php
index 0eda8a2..bce4633 100644
--- a/includes/Connection.php
+++ b/includes/Connection.php
@@ -112,7 +112,7 @@
} else {
$this->cluster = $cluster;
}
- $this->setTimeout( $this->getSettings()->getConnectTimeout() );
+ $this->setConnectTimeout(
$this->getSettings()->getConnectTimeout() );
// overwrites previous connection if it exists, but these
// seemed more centralized than having the entry points
// all call a static method unnecessarily.
--
To view, visit https://gerrit.wikimedia.org/r/249099
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2082d7e81ec803e315cfb865ef23ee7c2d7e33b9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits