diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-08-17 15:51:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 15:51:35 +0300 |
commit | 4c80d023eabcee5f1698dec64e2032e0c0d4b805 (patch) | |
tree | 6779ed1df61ea811789dd9444b0714a6d6878a7d /database | |
parent | bcc29cbe375a318a7b8bdbccb516084acf3d097b (diff) |
Increase alert snapshot chunk size (#15748)
increase alert snapshot chunk size
Diffstat (limited to 'database')
-rw-r--r-- | database/sqlite/sqlite_aclk_alert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/sqlite/sqlite_aclk_alert.c b/database/sqlite/sqlite_aclk_alert.c index f10a866f31..20ca0573de 100644 --- a/database/sqlite/sqlite_aclk_alert.c +++ b/database/sqlite/sqlite_aclk_alert.c @@ -850,7 +850,7 @@ static int have_recent_alarm(RRDHOST *host, uint32_t alarm_id, uint32_t mark) } #endif -#define ALARM_EVENTS_PER_CHUNK 10 +#define ALARM_EVENTS_PER_CHUNK 1000 void aclk_push_alert_snapshot_event(char *node_id __maybe_unused) { #ifdef ENABLE_ACLK |