From 0ba9fc0ce75b02f75de1921064e01b2ba19c0470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 5 Jul 2021 16:12:07 +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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/Pool/ClientsPool.php b/System/Pool/ClientsPool.php index 4389868f..10be814f 100644 --- a/System/Pool/ClientsPool.php +++ b/System/Pool/ClientsPool.php @@ -92,7 +92,9 @@ class ClientsPool extends Component } $num[$key] += $channel->length(); - $this->debug('use client -> ' . $key . ':' . $total); + if (str_starts_with('Mysql', $key)) { + $this->debug('Worker #' . env('worker') . ' use client -> ' . $key . ':' . $total); + } $total += $channel->length(); }