Skip to content

Commit

Permalink
chore: modify worker num config
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglonghui committed Jan 12, 2024
1 parent 4bf8566 commit 2607add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'SOCK_TYPE' => SWOOLE_TCP,
'RUN_MODEL' => SWOOLE_PROCESS,
'SETTING' => [
'worker_num' => 8,
'worker_num' => swoole_cpu_num(),
'reload_async' => true,
'max_wait_time'=>3,
'document_root' => EASYSWOOLE_ROOT . '/Static',
Expand Down

0 comments on commit 2607add

Please sign in to comment.