Skip to content
New issue

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

Clarify documentation for :on_success and :on_failure #73

Merged

Conversation

nathanl
Copy link
Contributor

@nathanl nathanl commented Sep 24, 2020

No description provided.

requeues the message.
that it can be delivered to a consumer again. `:reject_and_requeue`
always requeues the message. If the message is unprocessable, this will
cause an infinite loop of retries.
Copy link
Contributor Author

@nathanl nathanl Sep 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The infinite loop of retries bit us in production, which is why I think this clarification is important.

I would like to suggest that, rather than defaulting to :reject_and_requeue, the user be required to specify one of these options. This would prompt them to consider the tradeoffs.

@josevalim josevalim merged commit cd03338 into dashbitco:master Sep 24, 2020
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@nathanl nathanl deleted the clarify_docs_on_success_and_failure branch September 24, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants