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

Increase backoff coefficients to wait more between attempts #106

Open
wants to merge 1 commit into
base: table_of_content
Choose a base branch
from

Conversation

benoit74
Copy link
Contributor

@benoit74 benoit74 commented Nov 27, 2024

Current settings where trying too often, let's wait more time between attempts, we are not in a hurry.

Exponential wait time formula is factor * base ** n where n is trial attempt number

Default setting: factor=1, base=2 => 1, 2, 4, 8, 16 ...
New settings: factor=2, base=3 => 2, 6, 18 ...

@benoit74 benoit74 self-assigned this Nov 27, 2024
@benoit74 benoit74 added this to the 0.1 milestone Nov 27, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.76%. Comparing base (21527da) to head (7119f72).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           table_of_content     #106      +/-   ##
====================================================
+ Coverage             43.71%   43.76%   +0.04%     
====================================================
  Files                    20       20              
  Lines                  1153     1154       +1     
  Branches                165      165              
====================================================
+ Hits                    504      505       +1     
  Misses                  637      637              
  Partials                 12       12              

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

@benoit74 benoit74 marked this pull request as ready for review November 27, 2024 13:31
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