mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-06-15 18:05:50 +00:00
also remove all master fifo if vacuum is true
This commit is contained in:
@@ -1695,6 +1695,18 @@ next:
|
||||
}
|
||||
}
|
||||
}
|
||||
if (uwsgi.master_fifo) {
|
||||
// also remove all master fifo
|
||||
struct uwsgi_string_list *usl;
|
||||
uwsgi_foreach(usl, uwsgi.master_fifo) {
|
||||
if (unlink(usl->value)) {
|
||||
uwsgi_error("unlink()");
|
||||
}
|
||||
else {
|
||||
uwsgi_log("VACUUM: master fifo %s removed.\n", usl->value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user