This commit is contained in:
2020-09-04 18:57:44 +08:00
parent f2f8ed1ae1
commit 30d805f41d
+1 -1
View File
@@ -51,7 +51,7 @@ abstract class Pool extends Component
if ($timeout != -1) { if ($timeout != -1) {
$client = $this->_items[$name]->pop($timeout); $client = $this->_items[$name]->pop($timeout);
} else { } else {
$client = $this->_items[$name]->pop(60); $client = $this->_items[$name]->pop();
} }
if (!$this->checkCanUse(...$client)) { if (!$this->checkCanUse(...$client)) {
unset($client); unset($client);