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

@@ -22,7 +22,9 @@ class QueueNames(object):
PERIODIC = 'periodic-tasks'
PRIORITY = 'priority-tasks'
DATABASE = 'database-tasks'
SEND = 'send-tasks'
SEND_COMBINED = 'send-tasks'
SEND_SMS = 'send-sms-tasks'
SEND_EMAIL = 'send-email-tasks'
RESEARCH_MODE = 'research-mode-tasks'
STATISTICS = 'statistics-tasks'
JOBS = 'job-tasks'
@@ -36,7 +38,9 @@ class QueueNames(object):
QueueNames.PRIORITY,
QueueNames.PERIODIC,
QueueNames.DATABASE,
QueueNames.SEND,
QueueNames.SEND_COMBINED,
QueueNames.SEND_SMS,
QueueNames.SEND_EMAIL,
QueueNames.RESEARCH_MODE,
QueueNames.STATISTICS,
QueueNames.JOBS,