diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index af96ae14..520c6818 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -227,7 +227,7 @@ class Connection extends Pool */ private function nowClient($coroutineName, $config) { - if ($this->hasItem($coroutineName)) { + if ($this->size($coroutineName) > 0) { return $this->getByChannel($coroutineName, $config); } $client = $this->createConnect($config['cds'], $config['username'], $config['password']);