From 0323f84c1597db9be45d614469dc9153d0571642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 23 Apr 2021 18:42:59 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 55a70a23..a1026e26 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -249,8 +249,7 @@ abstract class Pool extends Component if (!isset($this->hasCreate[$name])) { $this->hasCreate[$name] = 0; } - var_dump($this->hasCreate[$name] . '->' . $this->max); - return $this->hasCreate[$name] >= $this->max; + return $this->hasCreate[$name] < $this->max; }