mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 09:12:06 -05:00
- If the task runs twice and the notification already exists ignore the primary key constraint.
- Remove prints - Add some more tests - Only allow the new method to run for emails
This commit is contained in:
@@ -31,7 +31,7 @@ class QueueNames(object):
|
||||
SMS_CALLBACKS = 'sms-callbacks'
|
||||
ANTIVIRUS = 'antivirus-tasks'
|
||||
SANITISE_LETTERS = 'sanitise-letter-tasks'
|
||||
SAVE_API_EMAIL = 'save-api-email'
|
||||
SAVE_API_EMAIL = 'save-api-email-tasks'
|
||||
|
||||
@staticmethod
|
||||
def all_queues():
|
||||
|
||||
Reference in New Issue
Block a user