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

#31 - bugfix: respect retry_limit configuration parameter #32

Merged
merged 2 commits into from
May 5, 2020

Conversation

rarruda
Copy link
Collaborator

@rarruda rarruda commented Apr 14, 2020

configuration setting was never sent to ScheduledExecutor

@coveralls
Copy link

coveralls commented Apr 14, 2020

Pull Request Test Coverage Report for Build 222

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.127%

Totals Coverage Status
Change from base Build 220: 0.0%
Covered Lines: 568
Relevant Lines: 573

💛 - Coveralls

@rarruda rarruda linked an issue Apr 15, 2020 that may be closed by this pull request
@lexicalunit
Copy link

Curious, is there a way to say "make infinite retries" by setting this to 0?

@rarruda
Copy link
Collaborator Author

rarruda commented Apr 15, 2020

Not as is, but that’s very good feedback. Will add feature soon.

@rarruda
Copy link
Collaborator Author

rarruda commented Apr 15, 2020

After looking a bit more into this, i think it would be more elegant to just specify Float::INFINITY for explicitly never giving up.

However I see that it can be useful to document this use case, and will add info in the README.

@rarruda rarruda force-pushed the bugfix/31_respect_configured_retry_limit branch from 4b7b695 to d80866e Compare April 15, 2020 22:16
@rarruda rarruda self-assigned this Apr 15, 2020
@rarruda rarruda force-pushed the bugfix/31_respect_configured_retry_limit branch from d80866e to f00639e Compare April 15, 2020 22:28
@orlandojsjr
Copy link

Hey guys, @rarruda are you planning to launch a new release with this PR? ty

@rarruda rarruda merged commit 56c1ca8 into master May 5, 2020
@rarruda
Copy link
Collaborator Author

rarruda commented May 5, 2020

@orlandojsjr A new release should be coming out soon!

@rarruda rarruda deleted the bugfix/31_respect_configured_retry_limit branch May 5, 2020 20:24
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.

Does this client use the retry_limit?
4 participants