commit | 17dad56e4ed2e6db5d3b2559a355a0819f72e501 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Apr 30 19:16:35 2014 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Apr 30 19:16:35 2014 +0400 |
tree | 5a29025cf96565500a19fa2a1167643647e6cce0 | |
parent | 1efe4fa7f770838dd389586c2b41c223c7c63cc7 [diff] |
Cache: added ngx_quit check to ngx_http_file_cache_expire(). While managing big caches it is possible that expiring old cache items in ngx_http_file_cache_expire() will take a while. Added a check for ngx_quit / ngx_terminate to make sure cache manager can be terminated while in ngx_http_file_cache_expire().