From aae930a16eace75543c121ec97cfa9d3353fa65d Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Thu, 27 Mar 2025 14:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 3 ++- config/process.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 5a1a7ca..c937e0e 100644 --- a/.env.example +++ b/.env.example @@ -16,4 +16,5 @@ JWT_SECRET_KEY = 'Hj3$kLm8NpQrStUvXwZ1y2C4D6E8G' JWT_ALGORITHM = 'HS256' JWT_EXPIRATION = 2592000 -WEBMAN_LISTEN = 'http://0.0.0.0:9007' \ No newline at end of file +WEBMAN_LISTEN = 'http://0.0.0.0:9007' +WEBMAN_COUNT = 8 \ No newline at end of file diff --git a/config/process.php b/config/process.php index d093e40..ec13a9b 100644 --- a/config/process.php +++ b/config/process.php @@ -22,7 +22,7 @@ return [ 'webman' => [ 'handler' => Http::class, 'listen' => getenv('WEBMAN_LISTEN'), - 'count' => 8, + 'count' => getenv('WEBMAN_COUNT'), 'user' => '', 'group' => '', 'reusePort' => false,