feat(alerts): fixed exp-alerts with legacy-sessions-search

This commit is contained in:
Taha Yassine Kraiem 2023-02-17 15:55:40 +01:00
parent 0fdcefe6e9
commit f8b8db3332
3 changed files with 2 additions and 3 deletions

View file

@ -4,9 +4,10 @@ from decouple import config
import schemas
from chalicelib.core import alerts_listener, alerts_processor
from chalicelib.core import sessions, alerts
from chalicelib.core import alerts
from chalicelib.utils import pg_client, ch_client, exp_ch_helper
from chalicelib.utils.TimeUTC import TimeUTC
from chalicelib.core import sessions_exp as sessions
logging.basicConfig(level=config("LOGLEVEL", default=logging.INFO))

View file

@ -138,7 +138,6 @@ ALTER TABLE IF EXISTS projects
ADD COLUMN IF NOT EXISTS beacon_size integer NOT NULL DEFAULT 0;
-- To migrate saved search data
-- SET client_min_messages TO NOTICE;
-- SET client_min_messages TO NOTICE;
CREATE OR REPLACE FUNCTION get_new_event_key(key text)

View file

@ -112,7 +112,6 @@ ALTER TABLE IF EXISTS projects
ADD COLUMN IF NOT EXISTS beacon_size integer NOT NULL DEFAULT 0;
-- To migrate saved search data
-- SET client_min_messages TO NOTICE;
-- SET client_min_messages TO NOTICE;
CREATE OR REPLACE FUNCTION get_new_event_key(key text)