From 41b0b2b795efc2fa7f3d9aee4c6987a3e67d14bb Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 25 Apr 2021 00:56:23 +0800 Subject: [PATCH] modify --- 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 5bebc9b5..fd493184 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -175,7 +175,7 @@ abstract class Pool extends Component if (!$this->hasItem($name)) { $this->createByCallback($name, $callback); } - $connection = $this->_items[$name]->pop(-1); + $connection = $this->_items[$name]->pop(0.01); if (!$this->checkCanUse($name, $connection)) { return $this->createClient($name, $callback); } else {