We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoretry_for
mailer.send()
Add autoretry_for=(Exception,) to the mailer.send() task and remove the manual retry-handling at the bottom of the task.
autoretry_for=(Exception,)
We want to retry sending an email whenever anything goes wrong, not only on smtplib.socket.error.
smtplib.socket.error
See autoretry_for in Celery's docs, and note that there's also dont_autoretry_for if we ever need it in future.
dont_autoretry_for
The text was updated successfully, but these errors were encountered:
seanh
mtomilov
No branches or pull requests
Add
autoretry_for=(Exception,)
to themailer.send()
task and remove the manual retry-handling at the bottom of the task.We want to retry sending an email whenever anything goes wrong, not only on
smtplib.socket.error
.See
autoretry_for
in Celery's docs, and note that there's alsodont_autoretry_for
if we ever need it in future.The text was updated successfully, but these errors were encountered: