From 05ad7bf07e252360ffa20db8dfc5530fa3e0866d Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 7 Feb 2013 14:10:13 +0100 Subject: [PATCH] fixed suspend when harakiri is in place --- core/master_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/master_utils.c b/core/master_utils.c index a4a41586..49dc27c7 100644 --- a/core/master_utils.c +++ b/core/master_utils.c @@ -482,7 +482,8 @@ int uwsgi_respawn_worker(int wid) { uwsgi.workers[wid].cheaped = 0; uwsgi.workers[wid].busy = 0; - uwsgi.workers[wid].suspended = 0; + // SUSPENSION is managed by the user, not the master... + //uwsgi.workers[wid].suspended = 0; uwsgi.workers[wid].sig = 0; // this is required for various checks