mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Old config reinstated for now.
Pull requests as was would mean that we didn't read from the old queues, so whilst the new code writes to the new "notify" queue, the old code would write to the old plethera of queues. And the readers may not pick it up depending on the order of the deploy. Safer to leave readers reading from all queues until after the deploy then doing a second deploy to tidy up the config.
This commit is contained in:
14
config.py
14
config.py
@@ -119,8 +119,20 @@ class Config(object):
|
||||
Queue('process-job', Exchange('default'), routing_key='process-job'),
|
||||
Queue('research-mode', Exchange('default'), routing_key='research-mode'),
|
||||
Queue('retry', Exchange('default'), routing_key='retry'),
|
||||
Queue('notify', Exchange('default'), routing_key='notify')
|
||||
Queue('notify', Exchange('default'), routing_key='notify'),
|
||||
Queue('sms', Exchange('default'), routing_key='sms'), # DELETE FROM HERE ONCE SHIPPED
|
||||
Queue('email', Exchange('default'), routing_key='email'),
|
||||
Queue('sms-code', Exchange('default'), routing_key='sms-code'),
|
||||
Queue('email-code', Exchange('default'), routing_key='email-code'),
|
||||
Queue('email-reset-password', Exchange('default'), routing_key='email-reset-password'),
|
||||
Queue('remove-job', Exchange('default'), routing_key='remove-job'),
|
||||
Queue('bulk-sms', Exchange('default'), routing_key='bulk-sms'),
|
||||
Queue('bulk-email', Exchange('default'), routing_key='bulk-email'),
|
||||
Queue('email-invited-user', Exchange('default'), routing_key='email-invited-user'),
|
||||
Queue('email-registration-verification', Exchange('default'), routing_key='email-registration-verification'),
|
||||
Queue('email-already-registered', Exchange('default'), routing_key='email-already-registered')
|
||||
]
|
||||
|
||||
API_HOST_NAME = "http://localhost:6011"
|
||||
|
||||
NOTIFICATIONS_ALERT = 5 # five mins
|
||||
|
||||
Reference in New Issue
Block a user