Skip to content

Commit

Permalink
Set worker_processes to a static number
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeightley committed Jul 21, 2022
1 parent 0e664d2 commit 8816bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/nginx.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
error_log stderr notice;

worker_processes auto;
worker_processes 4;
events {
multi_accept on;
use epoll;
Expand Down
2 changes: 1 addition & 1 deletion windows/templates/nginx.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
error_log stderr notice;

worker_processes auto;
worker_processes 4;
events {
multi_accept on;
worker_connections 1024;
Expand Down

0 comments on commit 8816bdd

Please sign in to comment.