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(); }