From b532932f23af45914c9ab74182eb499c7c8d7129 Mon Sep 17 00:00:00 2001 From: Bentley Hensel Date: Tue, 11 Jul 2023 18:13:48 -0400 Subject: [PATCH] Big speed! --- app/database/postgres/fetch_unprocessed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/database/postgres/fetch_unprocessed.py b/app/database/postgres/fetch_unprocessed.py index 624993a..96b112a 100644 --- a/app/database/postgres/fetch_unprocessed.py +++ b/app/database/postgres/fetch_unprocessed.py @@ -10,7 +10,7 @@ session = SessionLocal() -def fetch_unprocessed_rules(limit=10): +def fetch_unprocessed_rules(limit=10000): """Fetches all rule_id that are not processed yet.""" result = session.execute(text(""" SELECT id as rule_id