how to set timer?

supergui nginx-forum at
Tue Jul 21 10:25:04 MSD 2009

ngx_add_timer(&gdrive_timer_wev, 5); 

void test_timer(ngx_event_t *wev)
        ngx_log_error(NGX_LOG_DEBUG, wev->log, 0, "timer out");

i want to set a timer in nginx's main loop, but why this make not any effect?
how to set the timer?

Posted at Nginx Forum:,4265,4265#msg-4265

More information about the nginx mailing list