commit | 992318f39ea9d91f4d852b3aa6e3ca686aba6b57 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Mar 01 20:25:50 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Mar 01 20:25:50 2018 +0300 |
tree | 1b4dd1cd6c27935fbadb2b4a00a514e0a27bdce0 | |
parent | bfcae97ed5929d790838007bd7ea4756b0f3ce2d [diff] |
Core: ngx_current_msec now uses monotonic time if available. When clock_gettime(CLOCK_MONOTONIC) (or faster variants, _FAST on FreeBSD, and _COARSE on Linux) is available, we now use it for ngx_current_msec. This should improve handling of timers if system time changes (ticket #189).