mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
Put the statistics tasks into a new queue. This currently has no worker in PaaS so blocks the deployment until new PaaS worker is configured.
This commit is contained in:
@@ -211,7 +211,8 @@ class Development(Config):
|
||||
Queue('db-letter', Exchange('default'), routing_key='db-letter'),
|
||||
Queue('send-sms', Exchange('default'), routing_key='send-sms'),
|
||||
Queue('send-email', Exchange('default'), routing_key='send-email'),
|
||||
Queue('research-mode', Exchange('default'), routing_key='research-mode')
|
||||
Queue('research-mode', Exchange('default'), routing_key='research-mode'),
|
||||
Queue('statistics', Exchange('default'), routing_key='statistics')
|
||||
]
|
||||
API_HOST_NAME = "http://localhost:6011"
|
||||
API_RATE_LIMIT_ENABLED = True
|
||||
@@ -234,7 +235,8 @@ class Test(Config):
|
||||
Queue('db-letter', Exchange('default'), routing_key='db-letter'),
|
||||
Queue('send-sms', Exchange('default'), routing_key='send-sms'),
|
||||
Queue('send-email', Exchange('default'), routing_key='send-email'),
|
||||
Queue('research-mode', Exchange('default'), routing_key='research-mode')
|
||||
Queue('research-mode', Exchange('default'), routing_key='research-mode'),
|
||||
Queue('statistics', Exchange('default'), routing_key='statistics')
|
||||
]
|
||||
REDIS_ENABLED = True
|
||||
API_RATE_LIMIT_ENABLED = True
|
||||
|
||||
Reference in New Issue
Block a user