From 0b47ae208589207e8ad3a66e0169a8b04041c0d9 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Mon, 11 Mar 2019 20:30:40 +0100 Subject: Set `harakiri = 30`. --- docker/app/uwsgi.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker') 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 -- cgit v1.2.3