DCausse has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249099
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/99/249099/1
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: newchange
Gerrit-Change-Id: I2082d7e81ec803e315cfb865ef23ee7c2d7e33b9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits