From 061dafef3f65bf384b396ae9f9e93b7cffd97730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Apr 2021 15:20:53 +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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 8a9365b3..5d4ffa61 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -171,12 +171,7 @@ abstract class Pool extends Component if ($this->_items[$name]->length() < 1) { return $this->createByCallback($name, $callback); } - - $time = microtime(true); $connection = $this->_items[$name]->pop(0.01); - if (microtime(true) - $time >= 0.007) { - $this->warning('Worker #' . env('worker') . ' get client use time ' . (microtime(true) - $time)); - } if (!$this->checkCanUse($name, $connection)) { return $this->createClient($name, $callback); } else {