Add exponential backoff to retry attempts when sending API requests#12
Merged
carlosantoniodasilva merged 3 commits intomainfrom Mar 5, 2026
Merged
Add exponential backoff to retry attempts when sending API requests#12carlosantoniodasilva merged 3 commits intomainfrom
carlosantoniodasilva merged 3 commits intomainfrom
Conversation
6eb0f89 to
5e159e7
Compare
Similar logic for retry backoff from the Ruby/Python/Node packages.
We already log the post so it should be enough indication it's a retry. Matches behavior of other packages.
5s is the default we're using across the board.
0bcd983 to
6489b3a
Compare
carlosantoniodasilva
pushed a commit
that referenced
this pull request
Mar 6, 2026
## [0.1.6](judoscale-java-v0.1.5...judoscale-java-v0.1.6) (2026-03-05) ### Bug Fixes * Add exponential backoff to retry attempts when sending API requests ([#12](#12)) ([26f04dc](26f04dc)) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Similar logic for retry backoff from the Ruby/Python/Node packages.
Also update the timeout seconds to 5 to match across the board.
judoscale/judoscale-node#97
judoscale/judoscale-python#129
judoscale/judoscale-ruby#265
Builds on top of the Api client refactoring: #11