From 9bf6d000edecc0501cef301c584b54b81ba76a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 19 Sep 2022 18:24:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/Pool/Pool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/Pool/Pool.php b/kiri-engine/Pool/Pool.php index a1376d1b..e732ac69 100644 --- a/kiri-engine/Pool/Pool.php +++ b/kiri-engine/Pool/Pool.php @@ -166,7 +166,7 @@ class Pool extends Component { $channel = $this->channel($name); if (!$channel->isEmpty()) { - return $this->maxIdleQuantity($channel, $minx); + return $channel->pop(); } return $callback(); }