This commit is contained in:
2023-04-05 13:55:56 +08:00
parent 419dfb6e0b
commit eb931b5fd4
+1 -2
View File
@@ -102,8 +102,7 @@ class PoolItem
public function pop(int $waite = 10): mixed
{
if ($this->_items->isEmpty() && $this->created < $this->maxCreated) {
$callback = $this->callback;
$client = call_user_func($callback);
$client = call_user_func($this->callback);
$this->created += 1;