add separate send-sms and send-email queues

we're reading from those two queues as well as teh existing send queue,
however for now we don't send anything to them
This commit is contained in:
Leo Hemsted
2017-07-20 15:48:21 +01:00
parent 49bbd1a29b
commit 4d33040653
5 changed files with 11 additions and 7 deletions

View File

@@ -101,7 +101,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