mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
Removed references to old queus
This commit is contained in:
@@ -24,23 +24,6 @@ class QueueNames(object):
|
||||
NOTIFY = 'notify-internal-tasks'
|
||||
PROCESS_FTP = 'process-ftp-tasks'
|
||||
|
||||
@staticmethod
|
||||
def old_queues():
|
||||
return [
|
||||
'db-sms',
|
||||
'db-email',
|
||||
'db-letter',
|
||||
'priority',
|
||||
'periodic',
|
||||
'send-sms',
|
||||
'send-email',
|
||||
'research-mode',
|
||||
'statistics',
|
||||
'notify',
|
||||
'retry',
|
||||
'process-job'
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def all_queues():
|
||||
return [
|
||||
@@ -262,8 +245,6 @@ class Development(Config):
|
||||
NOTIFICATION_QUEUE_PREFIX = 'development'
|
||||
DEBUG = True
|
||||
|
||||
queues = QueueNames.all_queues() + QueueNames.old_queues()
|
||||
|
||||
for queue in QueueNames.all_queues():
|
||||
Config.CELERY_QUEUES.append(
|
||||
Queue(queue, Exchange('default'), routing_key=queue)
|
||||
@@ -283,9 +264,7 @@ class Test(Config):
|
||||
STATSD_HOST = "localhost"
|
||||
STATSD_PORT = 1000
|
||||
|
||||
queues = QueueNames.all_queues() + QueueNames.old_queues()
|
||||
|
||||
for queue in queues:
|
||||
for queue in QueueNames.all_queues():
|
||||
Config.CELERY_QUEUES.append(
|
||||
Queue(queue, Exchange('default'), routing_key=queue)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user