mirror of https://github.com/zulip/zulip.git
Set nginx worker_processes automatically based on CPU count.
(imported from commit e48143c1410439d0574bc78bfd64c22a3063d558)
This commit is contained in:
parent
4490881685
commit
6663247e22
|
@ -1,8 +1,6 @@
|
|||
user zulip;
|
||||
|
||||
# This is set to 8 because that's how many processors we have on
|
||||
# prod0. On other systems, it's more than we strictly need.
|
||||
worker_processes 8;
|
||||
worker_processes auto;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
worker_rlimit_nofile 40000;
|
||||
|
|
Loading…
Reference in New Issue