diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-26 17:10:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-26 17:10:03 +0000 |
commit | 271f618a49421e87945c1f68b59a8775469390d5 (patch) | |
tree | 166cbc9497e13b878bdd7043ca58f6b3da006f2a /streaming | |
parent | Adding upstream version 1.43.0. (diff) | |
download | netdata-271f618a49421e87945c1f68b59a8775469390d5.tar.xz netdata-271f618a49421e87945c1f68b59a8775469390d5.zip |
Adding upstream version 1.43.1.upstream/1.43.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/sender.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/streaming/sender.c b/streaming/sender.c index c37b158b1..71f875034 100644 --- a/streaming/sender.c +++ b/streaming/sender.c @@ -376,7 +376,7 @@ struct { bool dynamic; const char *error; int worker_job_id; - time_t postpone_reconnect_seconds; + int postpone_reconnect_seconds; bool prevent_log; } stream_responses[] = { { @@ -505,7 +505,7 @@ static inline bool rrdpush_sender_validate_response(RRDHOST *host, struct sender bool prevent_log = stream_responses[i].prevent_log; const char *error = stream_responses[i].error; int worker_job_id = stream_responses[i].worker_job_id; - time_t delay = stream_responses[i].postpone_reconnect_seconds; + int delay = stream_responses[i].postpone_reconnect_seconds; worker_is_busy(worker_job_id); rrdpush_sender_thread_close_socket(host); @@ -519,7 +519,7 @@ static inline bool rrdpush_sender_validate_response(RRDHOST *host, struct sender internal_error(true, "STREAM %s [send to %s]: %s - will retry in %ld secs, at %s", rrdhost_hostname(host), s->connected_to, error, delay, buf); else - netdata_log_error("STREAM %s [send to %s]: %s - will retry in %ld secs, at %s", + netdata_log_error("STREAM %s [send to %s]: %s - will retry in %d secs, at %s", rrdhost_hostname(host), s->connected_to, error, delay, buf); return false; |