Il giorno 06/set/2012, alle ore 12:08, Łukasz Mierzwa <[email protected]> ha 
scritto:

> Typo in last patch, this one compiles fine
> 
> 2012/9/6 Łukasz Mierzwa <[email protected]>:
>> Would this patch fix that issue?
>> 
>> 2012/9/6 Łukasz Mierzwa <[email protected]>:
>>> I was under the impresion that this is a bug in the way --idle is checking 
>>> for
>>> idleness. It should check if there are any requests running currently before
>>> stopping all workers, right now it only checks if there was no new requests 
>>> in
>>> last --idle seconds.
>>> Looking at the code I only see timestamp checks, so it seems that (if I'm
>>> right) You should add check that iterates all workes and checks if any of 
>>> them
>>> is busy.
>>> 

Applied in 1.3, but with a little fix as you check for busy == 0, while it 
should be busy == 1

http://projects.unbit.it/uwsgi/changeset/2541/

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

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

Reply via email to