Skip to content

Commit

Permalink
Update process.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Nov 5, 2024
1 parent ac0aaaa commit 9df485a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/process.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9df485a

Please sign in to comment.