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

'giveup' needs args and kwargs of the function to be retried #46

Open
terrisgit opened this issue Mar 1, 2018 · 1 comment
Open

'giveup' needs args and kwargs of the function to be retried #46

terrisgit opened this issue Mar 1, 2018 · 1 comment

Comments

@terrisgit
Copy link

I have a use case for a 'giveup' function to work conditionally, based on the arguments passed to the function to be retried.

@terrisgit terrisgit changed the title 'giveup' needs details['kwargs'] 'giveup' needs args and kwargs Mar 1, 2018
@terrisgit terrisgit changed the title 'giveup' needs args and kwargs 'giveup' needs args and kwargs of the function to be retried Mar 1, 2018
@bgreen-litl
Copy link
Member

The giveup function could take a details param like the event handlers. The downside is this would break the current contract and I don't think there's a good way to make it backward compatible. We could probably include this in backoff 2.0 though.

@bgreen-litl bgreen-litl pinned this issue Jul 14, 2021
@bgreen-litl bgreen-litl unpinned this issue Apr 26, 2022
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

No branches or pull requests

2 participants