-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send emails to celery after committing
In case the celery broker (redis) is down this may result in lost emails, but this is a very unlikely case (especially since usually sessions wouldn't work either with redis being down) and without committing first, an event log entry may not be persisted in the database yet when the task runs and wants to update its state.
- Loading branch information
1 parent
3504666
commit a88ae8f
Showing
2 changed files
with
2 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters