ソースを参照

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

Daniele Alessandri 15 年 前
コミット
580cf80436
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -170,7 +170,7 @@ class Client {
 
         $newClient = new Client();
         $newClient->setupClient($this->_options);
-        $newClient->setConnection($this->getConnection($connectionAlias));
+        $newClient->setConnection($connection);
         return $newClient;
     }