From 02b8c7ea3e637c40f57255f3acf403b470d77f21 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 2 May 2021 13:51:12 +0800 Subject: [PATCH] modify --- System/Abstracts/Pool.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 249d218a..e5d2caa1 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -174,11 +174,7 @@ abstract class Pool extends Component if ($this->_items[$name]->isEmpty()) { $this->createByCallback($name, $callback); } - $time = microtime(true); $connection = $this->_items[$name]->pop(0.002); - if (($end = microtime(true) - $time) >= 0.01) { - $this->error('waite channel connect use time.' . $end); - } if (!$this->checkCanUse($name, $connection)) { return $this->createClient($name, $callback); } else {