mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-11 09:27:56 -04:00
Merge pull request #1092 from alphagov/old-queue-split
[1/3] add separate send-sms and send-email queues
This commit is contained in:
@@ -103,7 +103,7 @@ def send_notification_to_queue(notification, research_mode, queue=None):
|
||||
if research_mode or notification.key_type == KEY_TYPE_TEST:
|
||||
queue = QueueNames.RESEARCH_MODE
|
||||
elif not queue:
|
||||
queue = QueueNames.SEND
|
||||
queue = QueueNames.SEND_COMBINED
|
||||
|
||||
if notification.notification_type == SMS_TYPE:
|
||||
deliver_task = provider_tasks.deliver_sms
|
||||
|
||||
Reference in New Issue
Block a user