mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-01 11:15:57 +00:00
run the autoreloader even in non-apps mode when non-lazy
This commit is contained in:
@@ -1367,8 +1367,10 @@ void *uwsgi_python_autoreloader_thread(void *foobar) {
|
||||
UWSGI_RELEASE_GIL;
|
||||
sleep(up.auto_reload);
|
||||
UWSGI_GET_GIL;
|
||||
// do not start monitoring til the first app is loaded (required for lazy mode)
|
||||
if (uwsgi_apps_cnt == 0) continue;
|
||||
if (uwsgi.lazy || uwsgi.lazy_apps) {
|
||||
// do not start monitoring til the first app is loaded (required for lazy mode)
|
||||
if (uwsgi_apps_cnt == 0) continue;
|
||||
}
|
||||
#ifdef UWSGI_PYTHON_OLD
|
||||
int pos = 0;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user