Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Use celery to send emails (and retry on failure) #3121
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.