From eccbf36858c036b80f15c8f6818253eaf3214ccd Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 24 Apr 2021 16:15:22 +0800 Subject: [PATCH] modify --- System/Abstracts/Pool.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index b29ed535..904079d4 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -191,9 +191,9 @@ abstract class Pool extends Component */ private function createByCallback($name, mixed $callback) { - if (!$this->canCreate($name)) { - return; - } +// if (!$this->canCreate($name)) { +// return; +// } if ($this->creates === -1 && !is_callable($callback)) { $this->creates = Timer::tick(1000, [$this, 'Heartbeat_detection']); }