summaryrefslogtreecommitdiffstats
path: root/aclk/aclk.c
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-11-21 12:00:51 +0200
committerGitHub <noreply@github.com>2023-11-21 12:00:51 +0200
commit85d43694355dfd31f1a57fcec68adf27327d5868 (patch)
treefad13b6b8f6ae1e473f2ad0129bb7992f8b0e9dc /aclk/aclk.c
parentc0feaec456e474313e827f489b0fcf9a7c5491e8 (diff)
Remove queue limit from ACLK sync event loop (#16411)
Code cleanup
Diffstat (limited to 'aclk/aclk.c')
-rw-r--r--aclk/aclk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk.c b/aclk/aclk.c
index 854408ce6e..2e76499719 100644
--- a/aclk/aclk.c
+++ b/aclk/aclk.c
@@ -1322,7 +1322,7 @@ void add_aclk_host_labels(void) {
void aclk_queue_node_info(RRDHOST *host, bool immediate)
{
- struct aclk_sync_host_config *wc = (struct aclk_sync_host_config *) host->aclk_sync_host_config;
+ struct aclk_sync_cfg_t *wc = host->aclk_config;
if (likely(wc))
wc->node_info_send_time = (host == localhost || immediate) ? 1 : now_realtime_sec();
}