From b31270fa0fd09e1a52af3f0a961008773bea2454 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 26 Aug 2018 20:50:46 +0000 Subject: [PATCH] Axe an old and apparently out-dated comment. There is a typo in the comment. HN_UPDATE_SEC has been renamed HM_UPDATE_SEC. The TODO seems to have been taken into account in r759862. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1839249 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cluster/mod_heartmonitor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 965fef5899..61a851764d 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -624,9 +624,7 @@ static apr_status_t hm_watchdog_callback(int state, void *data, /* store in the slotmem or in the file depending on configuration */ hm_update_stats(ctx, pool); cur = now = apr_time_sec(apr_time_now()); - /* TODO: Insted HN_UPDATE_SEC use - * the ctx->interval - */ + while ((now - cur) < apr_time_sec(ctx->interval)) { int n; apr_status_t rc; -- 2.50.1