Procházet zdrojové kódy

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

Daniele Alessandri před 15 roky
rodič
revize
2eec3929fb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

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