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

feat: use exponential backoff when retrying requests #417

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

jooola
Copy link
Member

@jooola jooola commented Jul 19, 2024

Replace current retries * retry_interval backoff with a truncated exponential backoff algorithm.

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.08%. Comparing base (3a83ed7) to head (dbe07c6).
Report is 35 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #417   +/-   ##
=======================================
  Coverage   93.08%   93.08%           
=======================================
  Files          64       64           
  Lines        2948     2948           
=======================================
  Hits         2744     2744           
  Misses        204      204           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jooola jooola marked this pull request as ready for review July 23, 2024 09:05
@jooola jooola merged commit f306073 into main Jul 24, 2024
10 checks passed
@jooola jooola deleted the retry_backoff_interval branch July 24, 2024 13:17
jooola pushed a commit that referenced this pull request Jul 25, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.1.0](v2.0.1...v2.1.0)
(2024-07-25)


### Features

* add exponential and constant backoff function
([#416](#416))
([fe7ddf6](fe7ddf6))
* deprecate `ServerType` `included_traffic` property
([#423](#423))
([3d56ac5](3d56ac5))
* use exponential backoff when retrying requests
([#417](#417))
([f306073](f306073))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

1 participant