commit | 0de53accd5c8ceb44f4d64738da869e9f82e9174 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Tue Mar 07 18:51:15 2017 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Tue Mar 07 18:51:15 2017 +0300 |
tree | fb1df1b233a9225fdcf343abeffbfb903fb19b3f | |
parent | dfc1806ebbbd1bf9af4d70122ff4286c0370c33b [diff] |
Cancelable timers are now preserved if there are other timers. There is no need to cancel timers early if there are other timers blocking shutdown anyway. Preserving such timers allows nginx to continue some periodic work till the shutdown is actually possible. With the new approach, timers with ev->cancelable are simply ignored when checking if there are any timers left during shutdown.