From 9a8364387882bf7ae11b0a7ed6c072d7f5964d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 20 Feb 2021 13:22:46 +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 0be40721..6090b029 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -130,7 +130,7 @@ abstract class Pool extends Component return; } - if ($this->creates === 0) { + if ($this->creates === -1) { $this->creates = Timer::tick(1000, [$this, 'Heartbeat_detection']); }