Commit aa5b2dcc by 叶明星

开启任务进程

parent d812816e
Showing with 1 additions and 1 deletions
......@@ -51,7 +51,7 @@ return [
'dispatch_mode' => 2,
'reactor_num' => 4,
'worker_num' => env('worker_num',8),
//'task_worker_num' => function_exists('swoole_cpu_num') ? swoole_cpu_num() * 2 : 8,
'task_worker_num' => 3,
'task_ipc_mode' => 1,
'task_max_request' => 8000,
'task_tmpdir' => @is_writable('/dev/shm/') ? '/dev/shm' : '/tmp',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment