<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I think most of time delta is larger than zero, and i guess that the intention of the if statement for checking delta is non-zero is for ignoring some extreme</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">case that the ngx_process_events handler returns so quickly that the millisecond precision is not enough to display the calling time(less than 1ms maybe). </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">In this case, calling the ngx_event_expire_timers is unnecessary.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"> Also , even in an extreme case that delta is zero for current cycle and events are posted to queue, calling for the ngx_event_expire_timers will be executed next cycle, presumably. </div></body></html>