summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2012-11-19 20:31:34 +0100
committerJim Jagielski <jim@apache.org>2012-11-19 20:31:34 +0100
commit7d4ff823f6be832d515f4c4d699f085c787d8f5b (patch)
tree08b210cc9e81f318f47d83238ae13e0bc3788c00 /server
parentskiplist_destroy() is new-ish (diff)
downloadapache2-7d4ff823f6be832d515f4c4d699f085c787d8f5b.tar.xz
apache2-7d4ff823f6be832d515f4c4d699f085c787d8f5b.zip
The compiler *should* do this, but just in case
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1411361 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/mpm/eventopt/eventopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/mpm/eventopt/eventopt.c b/server/mpm/eventopt/eventopt.c
index 795dba3115..b05968b536 100644
--- a/server/mpm/eventopt/eventopt.c
+++ b/server/mpm/eventopt/eventopt.c
@@ -1513,11 +1513,11 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
break;
}
- now = apr_time_now();
+ now = apr_time_now() + EVENT_FUDGE_FACTOR;
apr_thread_mutex_lock(g_timer_skiplist_mtx);
ep = skiplist_peek(timer_skiplist);
while (ep) {
- if (ep->when < now + EVENT_FUDGE_FACTOR) {
+ if (ep->when < now) {
skiplist_pop(timer_skiplist, NULL);
push_timer2worker(ep);
}