From 2b000a6ecf7737df5229f8022ec71744726eab72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 5 Sep 2020 01:28:40 +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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 12708fbc..f0857149 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -194,10 +194,6 @@ class Connection extends Pool if ($client instanceof PDO) { return $this->saveClient($coroutineName, $client); } - unset($client); - if ($this->hasCreate[$coroutineName] > $this->max) { - return $this->get($coroutineName)[1]; - } return $this->getByChannel($coroutineName, $config); }