aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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