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

Retry 0 #49

Merged
merged 2 commits into from
Nov 8, 2021
Merged

Retry 0 #49

merged 2 commits into from
Nov 8, 2021

Conversation

c1moore
Copy link
Contributor

@c1moore c1moore commented Oct 16, 2021

This fixes #47 and #41 .

If attempts is set to 0, we'll now retry ad infinitum until retryableFunc succeeds.

@JaSei
Copy link
Collaborator

JaSei commented Oct 18, 2021

Thanks, @c1moore, for your PR. It looks fine. I am just thinking about the version. From my point of view, it will be better to increase the major version - because the behavior is changed. On the other hand, the previous behavior could be taken as a bug 🤔 . Any thoughts?

@c1moore
Copy link
Contributor Author

c1moore commented Oct 18, 2021

I agree, a major version makes sense since it is potentially backwards breaking.

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.

how to retry forever until it succeeds?
2 participants