summaryrefslogtreecommitdiffstats
path: root/streaming
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-10-19 18:30:12 +0300
committerGitHub <noreply@github.com>2022-10-19 18:30:12 +0300
commit42e85b5a092b18881501b0fe76f91e4969dca088 (patch)
treea93d3dacbe095e56cf8648fe8d72081badeb0948 /streaming
parentb5e1e3690c9a8e59abe3a3a247ce7906f3259053 (diff)
Health thread per host (#13712)
* Rebased * rebased * health_execute_pending_updates -> health_execute_delayed_initializations * fix labels for current host only * missing bracket * misc fixes, reload health for disconnected hosts * remove volatile, add comment
Diffstat (limited to 'streaming')
-rw-r--r--streaming/receiver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c
index a4600b72c0..36c085062d 100644
--- a/streaming/receiver.c
+++ b/streaming/receiver.c
@@ -735,10 +735,10 @@ static int rrdpush_receive(struct receiver_state *rpt)
if(health_enabled != CONFIG_BOOLEAN_NO) {
if(alarms_delay > 0) {
rpt->host->health_delay_up_to = now_realtime_sec() + alarms_delay;
- info(
- "Postponing health checks for %" PRId64 " seconds, on host '%s', because it was just connected.",
- (int64_t)alarms_delay,
- rrdhost_hostname(rpt->host));
+ log_health(
+ "[%s]: Postponing health checks for %" PRId64 " seconds, because it was just connected.",
+ rrdhost_hostname(rpt->host),
+ (int64_t)alarms_delay);
}
}
rpt->host->senders_connect_time = now_realtime_sec();