mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
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:
@@ -90,6 +90,11 @@ applications:
|
|||||||
NOTIFY_APP_NAME: delivery-worker-internal
|
NOTIFY_APP_NAME: delivery-worker-internal
|
||||||
|
|
||||||
- name: notify-delivery-worker-receipts
|
- 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:
|
env:
|
||||||
NOTIFY_APP_NAME: delivery-worker-receipts
|
NOTIFY_APP_NAME: delivery-worker-receipts
|
||||||
Reference in New Issue
Block a user