改名
This commit is contained in:
@@ -54,7 +54,8 @@ abstract class Pool extends Component
|
|||||||
} else {
|
} else {
|
||||||
$client = $this->_items[$name]->pop();
|
$client = $this->_items[$name]->pop();
|
||||||
}
|
}
|
||||||
if (!$this->checkCanUse($name, ...$client)) {
|
[$timeout, $connection] = $client;
|
||||||
|
if (!$this->checkCanUse($name, $timeout, $connection)) {
|
||||||
unset($client);
|
unset($client);
|
||||||
return [0, null];
|
return [0, null];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user