dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e810660
)
Use normal, more patient, connection attempts for master connection here
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Sep 2008 08:40:39 +0000
(08:40 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Sep 2008 08:40:39 +0000
(08:40 +0000)
includes/ExternalStoreDB.php
patch
|
blob
|
history
diff --git
a/includes/ExternalStoreDB.php
b/includes/ExternalStoreDB.php
index
84d44a4
..
fb3853a
100644
(file)
--- a/
includes/ExternalStoreDB.php
+++ b/
includes/ExternalStoreDB.php
@@
-41,9
+41,7
@@
class ExternalStoreDB {
/** @todo Document.*/
function &getMaster( $cluster, $retry = true ) {
$lb =& $this->getLoadBalancer( $cluster );
- // Make only two connection attempts if there are other clusters to try
- $attempts = $retry ? false : 2;
- return $lb->getConnection( DB_MASTER, array(), false, $attempts, LoadBalancer::GRACEFUL );
+ return $lb->getConnection( DB_MASTER, array(), false, false, LoadBalancer::GRACEFUL );
}
/** @todo Document.*/