mirror of
https://github.com/predis/predis.git
synced 2026-09-01 21:27:46 +00:00
Get the connection out of a cluster only once inside Predis\Client::getClientFor().
This commit is contained in:
+1
-1
@@ -170,7 +170,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