Add support for 'worker-shutdown-timeout'
This commit is contained in:
parent
7844415cff
commit
d9e7d1eabc
4 changed files with 11 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ worker_rlimit_nofile {{ .MaxOpenFiles }};
|
|||
|
||||
{{/* http://nginx.org/en/docs/ngx_core_module.html#worker_shutdown_timeout */}}
|
||||
{{/* avoid waiting too long during a reload */}}
|
||||
worker_shutdown_timeout 10s;
|
||||
worker_shutdown_timeout {{ $cfg.WorkerShutdownTimeout }} ;
|
||||
|
||||
events {
|
||||
multi_accept on;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue