Closed steprun closed 4 years ago
Thanks for your report.
Did you have any idea to fix this issue?
--- a/src/server/server.c +++ b/src/server/server.c @@ -105,6 +105,10 @@ static void ParseEvent (PMSGQUEUE msg_que, int event) PKEYEVENT ke; MSG Msg;
Thanks. Would you like to send a pull request?
I have fixed this issue by calling __mg_check_expired_timers
in server_IdleHandler4Server
.
Please see the branch rel-5-0
.
server_IdleHandler4Server中, 如果select 返回的 errno是 EINTR, __mg_check_expired_timers不会被调用, 那么就不会产生MSG_TIMER