fixed suspend when harakiri is in place

This commit is contained in:
Unbit
2013-02-07 14:10:13 +01:00
parent f29ac2117f
commit 05ad7bf07e
+2 -1
View File
@@ -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