mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
add graceful harakiri
now there is way for uwsgi to send signal for graceful harakiri to try and handle it nice way before sending signal 9 pairs with https://github.com/ansible/awx/pull/15447/files
This commit is contained in:
@@ -225,7 +225,7 @@ data:
|
||||
location {{ ingress_path }} {
|
||||
# Add trailing / if missing
|
||||
rewrite ^(.*)$http_host(.*[^/])$ $1$http_host$2/ permanent;
|
||||
uwsgi_read_timeout 120s;
|
||||
uwsgi_read_timeout 125s;
|
||||
uwsgi_pass uwsgi;
|
||||
include /etc/nginx/uwsgi_params;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
@@ -299,6 +299,11 @@ data:
|
||||
master-fifo = /var/lib/awx/awxfifo
|
||||
max-requests = 1000
|
||||
buffer-size = 32768
|
||||
|
||||
harakiri = 120
|
||||
harakiri-graceful-timeout = 115
|
||||
harakiri-graceful-signal = 6
|
||||
py-call-osafterfork = true
|
||||
|
||||
if-env = UWSGI_MOUNT_PATH
|
||||
mount = %(_)=awx.wsgi:application
|
||||
|
||||
Reference in New Issue
Block a user