改名
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ class ClientPool extends Component
|
|||||||
|
|
||||||
$pool = $config['pool'] ?? ['min' => 1, 'max' => 100];
|
$pool = $config['pool'] ?? ['min' => 1, 'max' => 100];
|
||||||
|
|
||||||
$clients = $this->getPool()->get($coroutineName, $callback(), $pool['min'] ?? 1);
|
$clients = $this->getPool()->get($coroutineName, $callback, $pool['min'] ?? 1);
|
||||||
return Context::setContext($coroutineName, $clients);
|
return Context::setContext($coroutineName, $clients);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user