From 9ae1b26d525fe9637f5c3241bd8cb4353e24c99d Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 7 Feb 2013 14:11:24 +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 6b1acacf9b..e7cba3bb2b 100644 --- a/core/master_utils.c +++ b/core/master_utils.c @@ -508,7 +508,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