Index: trunk/phase3/includes/ExternalStoreDB.php |
— | — | @@ -41,9 +41,7 @@ |
42 | 42 | /** @todo Document.*/ |
43 | 43 | function &getMaster( $cluster, $retry = true ) { |
44 | 44 | $lb =& $this->getLoadBalancer( $cluster ); |
45 | | - // Make only two connection attempts if there are other clusters to try |
46 | | - $attempts = $retry ? false : 2; |
47 | | - return $lb->getConnection( DB_MASTER, array(), false, $attempts, LoadBalancer::GRACEFUL ); |
| 45 | + return $lb->getConnection( DB_MASTER, array(), false, false, LoadBalancer::GRACEFUL ); |
48 | 46 | } |
49 | 47 | |
50 | 48 | /** @todo Document.*/ |