Skip to content

Add exponential backoff to retry attempts when sending API requests#12

Merged
carlosantoniodasilva merged 3 commits intomainfrom
ca-api-client-retry-backoff
Mar 5, 2026
Merged

Add exponential backoff to retry attempts when sending API requests#12
carlosantoniodasilva merged 3 commits intomainfrom
ca-api-client-retry-backoff

Conversation

@carlosantoniodasilva
Copy link
Member

@carlosantoniodasilva carlosantoniodasilva commented Mar 5, 2026

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

Copy link
Member

@adamlogic adamlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Base automatically changed from ca-refactor-api-client to main March 5, 2026 19:21
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.
@carlosantoniodasilva carlosantoniodasilva force-pushed the ca-api-client-retry-backoff branch from 0bcd983 to 6489b3a Compare March 5, 2026 19:24
@carlosantoniodasilva carlosantoniodasilva merged commit 26f04dc into main Mar 5, 2026
2 checks passed
@carlosantoniodasilva carlosantoniodasilva deleted the ca-api-client-retry-backoff branch March 5, 2026 19:27
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>
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