From a03c28d7e528705f33c6d6228ab4d0c96c611e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 5 Jul 2021 16:10:13 +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/ClientsPool.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/System/Pool/ClientsPool.php b/System/Pool/ClientsPool.php index ee32db1c..4389868f 100644 --- a/System/Pool/ClientsPool.php +++ b/System/Pool/ClientsPool.php @@ -91,15 +91,15 @@ class ClientsPool extends Component $this->flush($channel, $min); } $num[$key] += $channel->length(); - if (str_starts_with('Mysql:', $key)) { - $total += $channel->length(); - } + + $this->debug('use client -> ' . $key . ':' . $total); + + $total += $channel->length(); } if ($total < 1) { Timer::clear($this->creates); $this->creates = -1; } - $this->debug('use client ' . $total); } }