aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-03-11 20:30:40 +0100
committerGravatar Johannes Christ <[email protected]>2019-03-11 20:30:40 +0100
commit0b47ae208589207e8ad3a66e0169a8b04041c0d9 (patch)
tree57e3c718ff28e864740304bce063ec7b415e2aef /docker
parentSet `single-interpreter = true`. (diff)
Set `harakiri = 30`.
Diffstat (limited to 'docker')
-rw-r--r--docker/app/uwsgi.ini4
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