mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Get the connection out of a cluster only once inside Predis\Client::getClientFor().
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ class Client {
|
||||
|
||||
$newClient = new Client();
|
||||
$newClient->setupClient($this->_options);
|
||||
$newClient->setConnection($this->getConnection($connectionAlias));
|
||||
$newClient->setConnection($connection);
|
||||
return $newClient;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user