mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Add a task to save-api-sms for high volume services.
When we initially added a new task to persist the notifications for a high volume service we wanted to implement it as quickly as possible, so ignored SMS. This will allow a high volume service to send SMS, the SMS will be sent to a queue to then persist and send the SMS, similar to emails. At this point I haven't added a new application to consume the new save-api-sms-tasks. But we can add a separate application or be happy with how the app scales for both email and sms.
This commit is contained in:
@@ -51,7 +51,7 @@ case $NOTIFY_APP_NAME in
|
||||
;;
|
||||
delivery-worker-save-api-notifications)
|
||||
exec scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 \
|
||||
-Q save-api-email-tasks 2> /dev/null
|
||||
-Q save-api-email-tasks, save-api-sms-tasks 2> /dev/null
|
||||
;;
|
||||
delivery-celery-beat)
|
||||
exec scripts/run_app_paas.sh celery -A run_celery.notify_celery beat --loglevel=INFO
|
||||
|
||||
Reference in New Issue
Block a user