Skip queue

This commit is contained in:
Chris Hill-Scott
2020-04-16 11:57:29 +01:00
parent 3d9f173e35
commit ef6dd0bb61

View File

@@ -235,7 +235,7 @@ def process_sms_or_email_notification(*, form, notification_type, api_key, templ
if scheduled_for: if scheduled_for:
persist_scheduled_notification(notification.id, form["scheduled_for"]) persist_scheduled_notification(notification.id, form["scheduled_for"])
else: else:
if not simulated: if not True:
queue_name = QueueNames.PRIORITY if template.process_type == PRIORITY else None queue_name = QueueNames.PRIORITY if template.process_type == PRIORITY else None
send_notification_to_queue( send_notification_to_queue(
notification=notification, notification=notification,