Skip to content

Commit

Permalink
Mark failed e-mail send tasks as FAILURE
Browse files Browse the repository at this point in the history
  • Loading branch information
bartjkdp committed Feb 21, 2023
1 parent 74c917b commit 4146eaa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/signals/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@
DEFAULT_FROM_EMAIL = os.getenv('DEFAULT_FROM_EMAIL', 'Meldingen gemeente Amsterdam <[email protected]>')
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

CELERY_EMAIL_CHUNK_SIZE = 1
CELERY_EMAIL_TASK_CONFIG = {
'ignore_result': False,
}

# Sentry logging
RAVEN_CONFIG = {
'dsn': os.getenv('SENTRY_RAVEN_DSN'),
Expand Down

0 comments on commit 4146eaa

Please sign in to comment.