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