* server/mpm/event/event.c (listener_thread): EVENT_FUDGE_FACTOR is used to
limit wakeups but still expiring timers should be compared with the real
apr_time_now().
Similar to r1874277 for TIMEOUT_FUDGE_FACTOR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1891727 13f79535-47bb-0310-9956-
ffa450edef68
* the maximum time to poll() below, if any.
*/
expiry = timers_next_expiry;
- if (expiry && expiry < now + EVENT_FUDGE_FACTOR) {
+ if (expiry && expiry < now) {
apr_thread_mutex_lock(g_timer_skiplist_mtx);
while ((te = apr_skiplist_peek(timer_skiplist))) {
- if (te->when > now + EVENT_FUDGE_FACTOR) {
+ if (te->when > now) {
timers_next_expiry = te->when;
timeout = te->when - now;
break;