This commit is contained in:
2021-10-28 18:57:07 +08:00
parent 52fe7e730d
commit 079573ce53
+1 -2
View File
@@ -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);
}