From 9df485ab5d08cb8c04803e1943b7292929011f31 Mon Sep 17 00:00:00 2001 From: walkor Date: Tue, 5 Nov 2024 21:21:21 +0800 Subject: [PATCH] Update process.php --- config/process.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/process.php b/config/process.php index ed5d5a0..892dc82 100644 --- a/config/process.php +++ b/config/process.php @@ -22,16 +22,17 @@ 'webman' => [ 'handler' => Http::class, 'listen' => 'http://0.0.0.0:8787', - 'count' => cpu_count() * 4, // 进程数 + 'count' => cpu_count() * 4, 'user' => '', 'group' => '', 'reusePort' => false, + 'eventLoop' => '', 'context' => [], 'constructor' => [ - 'requestClass' => Request::class, // request类设置 - 'logger' => Log::channel('default'), // 日志实例 - 'appPath' => app_path(), // app目录位置 - 'publicPath' => public_path() // public目录位置 + 'requestClass' => Request::class, + 'logger' => Log::channel('default'), + 'appPath' => app_path(), + 'publicPath' => public_path() ] ], // File update detection and automatic reload