worker's busy value is now dinamically computed

This commit is contained in:
Unbit
2013-02-14 09:17:59 +01:00
parent 0b8b6346be
commit f046d47eb2
8 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ void uwsgi_python_atexit() {
return;
// if busy do not run atexit hooks
if (uwsgi.workers[uwsgi.mywid].busy)
if (uwsgi_worker_is_busy(uwsgi.mywid))
return;
// managing atexit in async mode is a real pain...skip it for now