Browse Source

Change nginx timer resolution (#4415)

to 1s
Joan Miquel 6 years ago
parent
commit
be6f594b37
2 changed files with 2 additions and 1 deletions
  1. 1 1
      frameworks/C/nginx/nginx.conf
  2. 1 0
      frameworks/PHP/php/deploy/nginx_php.conf

+ 1 - 1
frameworks/C/nginx/nginx.conf

@@ -3,7 +3,7 @@ worker_processes  auto;
 worker_cpu_affinity auto;
 error_log stderr error;
 #worker_rlimit_nofile 1000000;
-#timer_resolution 1000ms;
+timer_resolution 1000ms;
 daemon off;
 
 events {

+ 1 - 0
frameworks/PHP/php/deploy/nginx_php.conf

@@ -2,6 +2,7 @@ user www-data;
 worker_processes  auto;
 error_log stderr error;
 #worker_rlimit_nofile 100000;
+timer_resolution 1000ms;
 daemon off;
 
 events {