From aea9024f9508e505137d9abdce9b7e0c963da359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 5 Sep 2020 01:14:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Pool/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);