From ccf02b6c1a0b89115bcba7aff976c7c2f7da8017 Mon Sep 17 00:00:00 2001 From: Jumana Bahrainwala Date: Tue, 17 Dec 2024 15:54:03 +0000 Subject: [PATCH] Reduce chunk size for sfetch notification status job --- app/celery/reporting_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/celery/reporting_tasks.py b/app/celery/reporting_tasks.py index 15a535fa3c..385e56c1a5 100644 --- a/app/celery/reporting_tasks.py +++ b/app/celery/reporting_tasks.py @@ -92,7 +92,7 @@ def create_nightly_notification_status_for_day(process_day): """ process_day = datetime.strptime(process_day, "%Y-%m-%d").date() service_ids = [x.id for x in Service.query.all()] - chunk_size = 20 + chunk_size = 10 iter_service_ids = iter(service_ids) while True: