diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-10-21 18:38:38 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-10-21 18:38:38 +0300 |
commit | f29d7ade54f8baa117f7c40fec58683952c46cdb (patch) | |
tree | 77316ee5cb8867e642d45fc835612c1d828ed275 /src/http/ngx_http_request.c | |
parent | 1fecec0cbf1554c0473d5cca0fb55f8dc006e4ba (diff) | |
download | nginx-f29d7ade54f8baa117f7c40fec58683952c46cdb.tar.gz nginx-f29d7ade54f8baa117f7c40fec58683952c46cdb.zip |
Removed CLOCK_MONOTONIC_COARSE support.
While clock_gettime(CLOCK_MONOTONIC_COARSE) is faster than
clock_gettime(CLOCK_MONOTONIC), the latter is fast enough on Linux for
practical usage, and the difference is negligible compared to other costs
at each event loop iteration. On the other hand, CLOCK_MONOTONIC_COARSE
causes various issues with typical CONFIG_HZ=250, notably very inaccurate
limit_rate handling in some edge cases (ticket #1678) and negative difference
between $request_time and $upstream_response_time (ticket #1965).
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions