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); } }