This commit is contained in:
as2252258@163.com
2021-04-25 00:56:23 +08:00
parent 8826d5e91b
commit 41b0b2b795
+1 -1
View File
@@ -175,7 +175,7 @@ abstract class Pool extends Component
if (!$this->hasItem($name)) {
$this->createByCallback($name, $callback);
}
$connection = $this->_items[$name]->pop(-1);
$connection = $this->_items[$name]->pop(0.01);
if (!$this->checkCanUse($name, $connection)) {
return $this->createClient($name, $callback);
} else {