summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2018-08-26 22:50:46 +0200
committerChristophe Jaillet <jailletc36@apache.org>2018-08-26 22:50:46 +0200
commitb31270fa0fd09e1a52af3f0a961008773bea2454 (patch)
treeb770756bb125e53fffaadfab3efb66b247917b5d /modules
parentRevert r1839247 (diff)
downloadapache2-b31270fa0fd09e1a52af3f0a961008773bea2454.tar.xz
apache2-b31270fa0fd09e1a52af3f0a961008773bea2454.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/cluster/mod_heartmonitor.c4
1 files changed, 1 insertions, 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;