Merge pull request #1058 from SkynetLabs/nginx-performance-tweak
bump worker_connections number and auto detect worker_processes number
This commit is contained in:
commit
5ea67d3636
|
@ -17,7 +17,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
user root;
|
user root;
|
||||||
worker_processes 1;
|
worker_processes auto;
|
||||||
|
|
||||||
#error_log logs/error.log;
|
#error_log logs/error.log;
|
||||||
#error_log logs/error.log notice;
|
#error_log logs/error.log notice;
|
||||||
|
@ -31,7 +31,7 @@ env SKYNET_SERVER_API;
|
||||||
env ACCOUNTS_ENABLED;
|
env ACCOUNTS_ENABLED;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 8192;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue