Get the connection out of a cluster only once inside Predis\Client::getClientFor().

This commit is contained in:
Daniele Alessandri
2010-09-18 17:05:54 +02:00
parent d6bea4390e
commit 580cf80436
+1 -1
View File
@@ -170,7 +170,7 @@ class Client {
$newClient = new Client();
$newClient->setupClient($this->_options);
$newClient->setConnection($this->getConnection($connectionAlias));
$newClient->setConnection($connection);
return $newClient;
}