On Fri, 4 May 2012 11:10:52 +0200
Roberto De Ioris <[email protected]> wrote:

> I think adding a check for "paused state" will be enough:
> 
> http://projects.unbit.it/uwsgi/browser/master.c#L729
> 
> if  uwsgi.workers[0].suspended is 1 it means uWSGI is paused

Although in the last scenario (single "idle" worker and a bunch of
"paused" & "cheap" workers) I used cheaper mode not sure if this is
a more generic case when worker gets recycled during
pausing master daemon.

Marcin
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to