diff options
author | 2019-03-11 20:30:40 +0100 | |
---|---|---|
committer | 2019-03-11 20:30:40 +0100 | |
commit | 0b47ae208589207e8ad3a66e0169a8b04041c0d9 (patch) | |
tree | 57e3c718ff28e864740304bce063ec7b415e2aef /docker | |
parent | Set `single-interpreter = true`. (diff) |
Set `harakiri = 30`.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/app/uwsgi.ini | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/app/uwsgi.ini b/docker/app/uwsgi.ini index 8418c2f0..73014167 100644 --- a/docker/app/uwsgi.ini +++ b/docker/app/uwsgi.ini @@ -21,6 +21,10 @@ auto-procname = true # Prefix process names with `pysite : ` procname-prefix-spaced = pysite : +### Worker options +# Kill workers if they take more than 30 seconds to respond. +harakiri = 30 + ### Startup settings # Exit if we can't load the app need-app = true |