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

Use the DefaultMaxRetry for defaulting MaxRetry #43

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

andrewhoff
Copy link
Contributor

@andrewhoff andrewhoff commented Oct 31, 2018

Hi, I just came across this while using .NewStore(), and running into a 'retry limit exceeded' error. This just passes the DefaultMaxRetry in the NewStore call to NewStoreWithOptions. I left the lower line in NewStoreWithOptions in, in the event that someone sets DefaultMaxRetry to <=0 at some point.

@andrewhoff andrewhoff changed the title Use the default maxrety for defaulting maxretry Use the DefaultMaxRetry for defaulting MaxRetry Oct 31, 2018
@novln
Copy link
Contributor

novln commented Nov 2, 2018

Thank you for your contribution, highly appreciated 🙂

@novln novln merged commit cfd0e75 into ulule:master Nov 2, 2018
@andrewhoff
Copy link
Contributor Author

No problem! Thanks for merging.

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.

2 participants