When there are high volumes of emails being processed the SES callback task will trigger the service-callback task.

This PR creates a new worker to deal with the service-callback so that one event doesn't block the other.
This commit is contained in:
Rebecca Law
2018-02-09 09:39:14 +00:00
parent 1326eae587
commit f7ab04a8f8

View File

@@ -90,6 +90,11 @@ applications:
NOTIFY_APP_NAME: delivery-worker-internal
- name: notify-delivery-worker-receipts
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q ses-callbacks,service-callbacks
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q ses-callbacks
env:
NOTIFY_APP_NAME: delivery-worker-receipts
- name: notify-delivery-worker-service-callbacks
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q service-callbacks
env:
NOTIFY_APP_NAME: delivery-worker-receipts