From 52fe7e730df52608e84cc578cdd8aaaaa60621d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 28 Oct 2021 18:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ClientPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClientPool.php b/src/ClientPool.php index 172a4e5..892505e 100644 --- a/src/ClientPool.php +++ b/src/ClientPool.php @@ -45,7 +45,7 @@ class ClientPool extends Component $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); }