Skip to content

Fix exponential retry error on API requests#239

Merged
sveinse merged 1 commit intocustom-components:masterfrom
sveinse:feature-fix-exponential-retry
Jul 24, 2025
Merged

Fix exponential retry error on API requests#239
sveinse merged 1 commit intocustom-components:masterfrom
sveinse:feature-fix-exponential-retry

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Jul 24, 2025

  • All code paths now creates sleep delays when retrying
  • Optimize the retry parameters
  • Add base_url argument to request()

Fix #238

* All code paths now creates sleep delays when retrying
* Optimize the retry parameters
* Add `base_url` argument to `request()`
@sveinse sveinse added this to the v0.8 milestone Jul 24, 2025
Copy link
Contributor

@steinmn steinmn left a comment

Choose a reason for hiding this comment

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

LGTM

@sveinse sveinse merged commit 8b86a7a into custom-components:master Jul 24, 2025
1 check passed
@sveinse sveinse deleted the feature-fix-exponential-retry branch July 24, 2025 19:01
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.

Exponential back-off on retries are not working like it should

2 participants