From 8b7b5500dd02573faf0eb3678c178652c5c3cf61 Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Mon, 13 Oct 2025 15:49:24 +0800 Subject: [PATCH] redis edit --- config/plugin/webman/gateway-worker/process.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/plugin/webman/gateway-worker/process.php b/config/plugin/webman/gateway-worker/process.php index 2b89808..9a3475d 100644 --- a/config/plugin/webman/gateway-worker/process.php +++ b/config/plugin/webman/gateway-worker/process.php @@ -7,7 +7,7 @@ use Webman\GatewayWorker\Register; return [ 'gateway' => [ 'handler' => Gateway::class, - 'listen' => 'websocket://0.0.0.0:2366', + 'listen' => 'websocket://0.0.0.0:2348', 'count' => cpu_count(), 'reloadable' => false, 'constructor' => ['config' => [ @@ -15,7 +15,7 @@ return [ 'startPort' => 2300, 'pingInterval' => 25, 'pingData' => '{"type":"p","data_type":"p"}', - 'registerAddress' => '127.0.0.1:1299', + 'registerAddress' => '127.0.0.1:1238', 'onConnect' => function(){}, ]] ], @@ -25,12 +25,12 @@ return [ 'constructor' => ['config' => [ 'eventHandler' => plugin\webman\gateway\Events::class, 'name' => 'ChatBusinessWorker', - 'registerAddress' => '127.0.0.1:1299', + 'registerAddress' => '127.0.0.1:1238', ]] ], 'register' => [ 'handler' => Register::class, - 'listen' => 'text://127.0.0.1:1299', + 'listen' => 'text://127.0.0.1:1238', 'count' => 1, // Must be 1 'constructor' => [] ],