mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
fix comment
This commit is contained in:
parent
2d028f8910
commit
b548e13cdf
@ -65,9 +65,9 @@ ngx_event_add_timer(ngx_event_t *ev, ngx_msec_t timer)
|
|||||||
if (ev->timer_set) {
|
if (ev->timer_set) {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use the previous timer value if a difference between them is less
|
* Use a previous timer value if difference between it and a new
|
||||||
* then NGX_TIMER_LAZY_DELAY milliseconds. It allows to minimize
|
* value is less than NGX_TIMER_LAZY_DELAY milliseconds: this allows
|
||||||
* the rbtree operations for the fast connections.
|
* to minimize the rbtree operations for fast connections.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
diff = (ngx_msec_int_t) (key - ev->timer.key);
|
diff = (ngx_msec_int_t) (key - ev->timer.key);
|
||||||
|
Loading…
Reference in New Issue
Block a user