mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 06:52:06 -05:00
- If the task runs twice and the notification already exists ignore the primary key constraint.
- Remove prints - Add some more tests - Only allow the new method to run for emails
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 2> /dev/null
|
||||
-Q save-api-email-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