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