改名
This commit is contained in:
+1
-7
@@ -122,13 +122,7 @@ class Pool extends Component
|
|||||||
{
|
{
|
||||||
$channel = $this->getChannel($name);
|
$channel = $this->getChannel($name);
|
||||||
if (!$channel->isEmpty()) {
|
if (!$channel->isEmpty()) {
|
||||||
Coroutine::defer(function () {
|
return $this->maxIdleQuantity($channel);
|
||||||
echo '111';
|
|
||||||
});
|
|
||||||
$connection = $this->maxIdleQuantity($channel);
|
|
||||||
if ($this->checkCanUse($name, $connection)) {
|
|
||||||
return $connection;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return $callback();
|
return $callback();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user