From 6780c1c788c273a24699caee84feb14224234000 Mon Sep 17 00:00:00 2001 From: walkor Date: Tue, 30 Apr 2024 09:05:42 +0800 Subject: [PATCH] Update process.php --- src/config/plugin/webman/gateway-worker/process.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/plugin/webman/gateway-worker/process.php b/src/config/plugin/webman/gateway-worker/process.php index c29c7b0..c483484 100644 --- a/src/config/plugin/webman/gateway-worker/process.php +++ b/src/config/plugin/webman/gateway-worker/process.php @@ -8,7 +8,7 @@ 'gateway' => [ 'handler' => Gateway::class, 'listen' => 'websocket://0.0.0.0:7272', - 'count' => cpu_count(), + 'count' => 2, 'reloadable' => false, 'constructor' => ['config' => [ 'lanIp' => '127.0.0.1', @@ -32,6 +32,7 @@ 'handler' => Register::class, 'listen' => 'text://127.0.0.1:1236', 'count' => 1, // Must be 1 + 'reloadable' => false, 'constructor' => [] ], ];