From 1677000ad6f1fdd2d61b82c5b4216bc4479b4e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 5 Jan 2021 18:59:35 +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 | 1 - System/Pool/Redis.php | 1 - 2 files changed, 2 deletions(-) diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 9d057c39..93ec8849 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -239,7 +239,6 @@ class Connection extends Pool if (!empty($charset)) { $link->query('SET NAMES ' . $charset); } - $this->printClients($cds, $coroutineName); $this->incr($coroutineName); if ($number = Context::getContext('begin_' . $coroutineName, Coroutine::getCid())) { $number > 0 && $link->beginTransaction(); diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index cbca4fdf..fcfb45ec 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -86,7 +86,6 @@ class Redis extends Pool if (empty($config['auth']) || !$redis->auth($config['auth'])) { throw new RedisConnectException(sprintf('Redis Error: %s, Host %s, Auth %s', $redis->getLastError(), $config['host'], $config['auth'])); } - $this->printClients($config['host'], $coroutineName); if (!isset($config['read_timeout'])) { $config['read_timeout'] = 10; }