mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 21:21:53 +00:00
Merge pull request #482 from prymitive/idle_zero_mem
reset worker memory usage when --idle option kills it
This commit is contained in:
@@ -122,6 +122,8 @@ void uwsgi_master_check_idle() {
|
||||
}
|
||||
else {
|
||||
uwsgi.workers[i].pid = 0;
|
||||
uwsgi.workers[i].rss_size = 0;
|
||||
uwsgi.workers[i].vsz_size = 0;
|
||||
}
|
||||
}
|
||||
uwsgi_add_sockets_to_queue(uwsgi.master_queue, -1);
|
||||
|
||||
Reference in New Issue
Block a user