Move status timer check into the global once-per-second timer, this could maybe

be done better but one every second is better than once every 50 ms.
This commit is contained in:
Nicholas Marriott
2009-11-04 23:42:51 +00:00
parent b1264a7416
commit 946ed97273
3 changed files with 43 additions and 40 deletions

View File

@ -520,6 +520,8 @@ server_second_callback(unused int fd, unused short events, unused void *arg)
}
}
server_client_status_timer();
evtimer_del(&server_ev_second);
memset(&tv, 0, sizeof tv);
tv.tv_sec = 1;