From 434d9a46e31be2ff4ee8aca0d1a44adcd5aa96eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 5 Sep 2020 02:14:42 +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 c0e66727..7656d9dc 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -43,7 +43,7 @@ abstract class Pool extends Component */ protected function get($name) { - [$timeout, $connection] = $this->_items[$name]->pop(); + [$timeout, $connection] = $this->_items[$name]->pop(1); if (!$this->checkCanUse($name, $timeout, $connection)) { unset($client); return [0, null];