From 5a0b34fafc5a9508a6d40b45c99cd3a9703cc356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Apr 2021 13:53:31 +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/Abstracts/Pool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 2d5ce32b..98cf8478 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -174,7 +174,7 @@ abstract class Pool extends Component } $connection = $this->_items[$name]->pop(0.01); if (microtime(true) - $time >= 0.007) { - $this->warning('get client use time ' . (microtime(true) - $time)); + $this->warning('Worker #' . env('worker') . ' get client use time ' . (microtime(true) - $time)); } if (!$this->checkCanUse($name, $connection)) { return $this->createClient($name, $callback);