mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 13:38:53 -04: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(
|
).order_by(
|
||||||
Notification.service_id,
|
Notification.service_id,
|
||||||
Notification.created_at
|
Notification.created_at
|
||||||
)
|
).limit(50000)
|
||||||
return notifications
|
return notifications
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user