From 3ab610311723079d1cbc33d023bb0ae22996bb5c Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Wed, 5 Nov 2025 17:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=8D=8F=E7=A8=8B=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugin/webman/gateway-worker/process.php | 2 +- config/process.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/plugin/webman/gateway-worker/process.php b/config/plugin/webman/gateway-worker/process.php index 0076bd6..c9e5e44 100644 --- a/config/plugin/webman/gateway-worker/process.php +++ b/config/plugin/webman/gateway-worker/process.php @@ -22,7 +22,7 @@ return [ 'worker' => [ 'handler' => BusinessWorker::class, 'count' => cpu_count()*2, - 'eventLoop' => \Workerman\Events\Swoole1::class, + 'eventLoop' => \Workerman\Events\Swoole::class, 'constructor' => ['config' => [ 'eventHandler' => plugin\webman\gateway\Events::class, 'name' => 'ChatBusinessWorker', diff --git a/config/process.php b/config/process.php index b78cc89..9bd3fe0 100644 --- a/config/process.php +++ b/config/process.php @@ -28,7 +28,7 @@ return [ 'group' => '', 'reusePort' => false, // 'eventLoop' => '', - 'eventLoop' => \Workerman\Events\Swoole::class, + 'eventLoop' => \Workerman\Events\Swoole1::class, 'context' => [], 'constructor' => [ 'requestClass' => Request::class,