summaryrefslogtreecommitdiffstats
path: root/database/sqlite/sqlite_aclk_chart.h
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-11-11 15:06:04 +0200
committerGitHub <noreply@github.com>2021-11-11 15:06:04 +0200
commit9676eff1bc6dfc28e8f1c4857786ec05613b2646 (patch)
treecb2bc7e6c39332bae344fe8148823578c43072a9 /database/sqlite/sqlite_aclk_chart.h
parente20c0237fdb73483e678eb49d72e3f6adeb108c9 (diff)
insert into aclk_alert instead of queuing (#11769)
Diffstat (limited to 'database/sqlite/sqlite_aclk_chart.h')
-rw-r--r--database/sqlite/sqlite_aclk_chart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/sqlite/sqlite_aclk_chart.h b/database/sqlite/sqlite_aclk_chart.h
index cd545f70d4..67d81a534e 100644
--- a/database/sqlite/sqlite_aclk_chart.h
+++ b/database/sqlite/sqlite_aclk_chart.h
@@ -19,7 +19,7 @@ extern sqlite3 *db_meta;
extern int queue_chart_to_aclk(RRDSET *st);
extern int queue_dimension_to_aclk(RRDDIM *rd);
extern void sql_create_aclk_table(RRDHOST *host, uuid_t *host_uuid, uuid_t *node_id);
-extern void sql_queue_alarm_to_aclk(RRDHOST *host, ALARM_ENTRY *ae);
+extern int sql_queue_alarm_to_aclk(RRDHOST *host, ALARM_ENTRY *ae);
int aclk_add_chart_event(struct aclk_database_worker_config *wc, struct aclk_database_cmd cmd);
int aclk_add_dimension_event(struct aclk_database_worker_config *wc, struct aclk_database_cmd cmd);
int aclk_send_chart_config(struct aclk_database_worker_config *wc, struct aclk_database_cmd cmd);