diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index c0e66727..7656d9dc 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -43,7 +43,7 @@ abstract class Pool extends Component */ protected function get($name) { - [$timeout, $connection] = $this->_items[$name]->pop(); + [$timeout, $connection] = $this->_items[$name]->pop(1); if (!$this->checkCanUse($name, $timeout, $connection)) { unset($client); return [0, null];