diff --git a/core/master_checks.c b/core/master_checks.c index 2d6bab4b..ebf63f8a 100644 --- a/core/master_checks.c +++ b/core/master_checks.c @@ -160,6 +160,12 @@ int uwsgi_master_check_workers_deadline() { int i,j; int ret = 0; for (i = 1; i <= uwsgi.numproc; i++) { + if (uwsgi.workers[i].harakiri_total > 0) { + if (uwsgi.workers[i].harakiri_total < (time_t) uwsgi.current_time) { + trigger_harakiri(i); + ret = 1; + } + } for(j=0;j 0) {