@cryptotaxi247 / netdata-1 / commits / 11be67a9c

Trigger queue removed alerts on health log exchange with cloud (#12954)

trigger queue removed on health log exchange with cloud

Emmanuel Vasilakis committed May 30, 2022 at 12:11 UTC 11be67a9c37c9399bc02d8078e8995fca7e96fe6
2 files changed +3 -1
aclk/aclk.c
+1 -1
@@ -34,7 +34,7 @@ time_t last_disconnect_time = 0;
34 time_t next_connection_attempt = 0;
35 float last_backoff_value = 0;
36
37 -int aclk_alert_reloaded = 1; //1 on startup, and again on health_reload
37 +int aclk_alert_reloaded = 0; //1 on health log exchange, and again on health_reload
38
39 time_t aclk_block_until = 0;
40
database/sqlite/sqlite_aclk_alert.c
+2
@@ -557,6 +557,8 @@ void aclk_push_alarm_health_log(struct aclk_database_worker_config *wc, struct a
557
558 freez(claim_id);
559 buffer_free(sql);
560 +
561 + aclk_alert_reloaded = 1;
562 #endif
563
564 return;