mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Merge pull request #3009 from alphagov/limit-collate-task-to-50k-letters
limit collate task to 50,000 messages
This commit is contained in:
@@ -730,7 +730,7 @@ def dao_get_letters_to_be_printed(print_run_deadline, postage):
|
||||
).order_by(
|
||||
Notification.service_id,
|
||||
Notification.created_at
|
||||
)
|
||||
).limit(50000)
|
||||
return notifications
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user