From b8d6b989c10a9b76689481503d19179bdbc5bd37 Mon Sep 17 00:00:00 2001 From: andrey-snowflake <42752788+andrey-snowflake@users.noreply.github.com> Date: Mon, 3 Jun 2019 15:17:23 -0700 Subject: [PATCH] Bumps dispatcher limit from 100 to 1000 (#189) --- src/runners/alert_dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runners/alert_dispatcher.py b/src/runners/alert_dispatcher.py index 7ad3b95fb..cd3b08180 100755 --- a/src/runners/alert_dispatcher.py +++ b/src/runners/alert_dispatcher.py @@ -9,10 +9,10 @@ GET_ALERTS_QUERY = f""" SELECT * FROM results.alerts -WHERE iff(alert:HANDLERS is null, ticket is null, handled is null) +WHERE IFF(alert:HANDLERS IS NULL, ticket IS NULL, handled IS NULL) AND suppressed=FALSE ORDER BY event_time ASC -LIMIT 100 +LIMIT 1000 """