Don't treat EINTR as an error
When the epoll_wait call returns with an error and errno is set to EINTR, no warning should be logged as this is correct behavior.
This commit is contained in:
		@ -1185,7 +1185,7 @@ void Worker::poll_waitevents()
 | 
			
		||||
        nfds = epoll_wait(m_epoll_fd, events, MAX_EVENTS, timeout);
 | 
			
		||||
        m_load.about_to_work();
 | 
			
		||||
 | 
			
		||||
        if (nfds == -1)
 | 
			
		||||
        if (nfds == -1 && errno != EINTR)
 | 
			
		||||
        {
 | 
			
		||||
            int eno = errno;
 | 
			
		||||
            errno = 0;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user