Increase alert snapshot chunk size (#15748)
increase alert snapshot chunk size
Emmanuel Vasilakis committed
Aug 17, 2023 at 15:51 UTC
4c80d023eabcee5f1698dec64e2032e0c0d4b805
1 file changed
+1
-1
database/sqlite/sqlite_aclk_alert.c
+1
-1
@@ -850,7 +850,7 @@ static int have_recent_alarm(RRDHOST *host, uint32_t alarm_id, uint32_t mark)
850
}
851
#endif
852
853
-#define ALARM_EVENTS_PER_CHUNK 10
853
+#define ALARM_EVENTS_PER_CHUNK 1000
854
void aclk_push_alert_snapshot_event(char *node_id __maybe_unused)
855
{
856
#ifdef ENABLE_ACLK