comparison src/event/ngx_event_timer.h @ 1807:1739becf3f83

fix comment
author Igor Sysoev <igor@sysoev.ru>
date Sat, 29 Dec 2007 16:55:31 +0000
parents 9c2f3ed7a247
children d620f497c50f
comparison
equal deleted inserted replaced
1806:ba9e6e57f65d 1807:1739becf3f83
63 key = ngx_current_msec + timer; 63 key = ngx_current_msec + timer;
64 64
65 if (ev->timer_set) { 65 if (ev->timer_set) {
66 66
67 /* 67 /*
68 * Use the previous timer value if a difference between them is less 68 * Use a previous timer value if difference between it and a new
69 * then NGX_TIMER_LAZY_DELAY milliseconds. It allows to minimize 69 * value is less than NGX_TIMER_LAZY_DELAY milliseconds: this allows
70 * the rbtree operations for the fast connections. 70 * to minimize the rbtree operations for fast connections.
71 */ 71 */
72 72
73 diff = (ngx_msec_int_t) (key - ev->timer.key); 73 diff = (ngx_msec_int_t) (key - ev->timer.key);
74 74
75 if (ngx_abs(diff) < NGX_TIMER_LAZY_DELAY) { 75 if (ngx_abs(diff) < NGX_TIMER_LAZY_DELAY) {