From 4445aaabe211bf20a0d9924a9f0bba465e4f5a00 Mon Sep 17 00:00:00 2001 From: Jumana B Date: Tue, 17 Dec 2024 11:04:43 -0500 Subject: [PATCH] Reduce chunk size for sfetch notification status job (#2396) --- 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: