allow configuration of uwsgi timeout

This is important when you have proxies in front of the service
that may have stricter timeouts, as you need at least as strict a
timeout at uwsgi to get meaningful traceback and see source of problem.
This commit is contained in:
Elijah DeLee
2025-02-19 14:38:54 -05:00
parent bb4f4c2eb4
commit 6a2b42cdde
5 changed files with 21 additions and 4 deletions

View File

@@ -304,8 +304,8 @@ data:
max-requests = 1000
buffer-size = 32768
harakiri = 120
harakiri-graceful-timeout = 115
harakiri = {{ uwsgi_timeout|int }}
harakiri-graceful-timeout = {{ [(uwsgi_timeout|int - 2), 1] | max }}
harakiri-graceful-signal = 6
py-call-osafterfork = true