This commit is contained in:
2022-09-19 18:24:12 +08:00
parent 9b873479ac
commit 9bf6d000ed
+1 -1
View File
@@ -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();
}