Skip to content

Commit

Permalink
Reduce chunk size for sfetch notification status job (#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai authored Dec 17, 2024
1 parent 42a6e81 commit 4445aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/celery/reporting_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4445aaa

Please sign in to comment.