From f2f8ed1ae10131f0361d418500cdb37b7a6fca17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 4 Sep 2020 18:57:12 +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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 2e37d944..c752d327 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -215,9 +215,6 @@ class Connection extends Pool private function nowClient($coroutineName, $config) { $client = $this->createConnect($config['cds'], $config['username'], $config['password']); - if ($this->hasLength($coroutineName)) { - return $this->getByChannel($coroutineName, $config); - } $this->success('create db client -> ' . $config['cds'] . ':' . $this->hasLength($coroutineName)); if (isset(Context::getContext('begin_' . $coroutineName)[Coroutine::getCid()])) { $number = Context::getContext('begin_' . $coroutineName)[Coroutine::getCid()];