v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

Add exponential backoff with jitter algorithm for retry package

Open ghosx opened this issue 2 years ago • 1 comments

I think the default backoff algorithm should be modified and use the algorithm with jitter, so I contributed an implementation.

reference: http://www.awsarchitectureblog.com/2015/03/backoff.html

ghosx avatar Nov 25 '23 04:11 ghosx

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b913549) 36.85% compared to head (8503409) 36.89%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2786      +/-   ##
==========================================
+ Coverage   36.85%   36.89%   +0.03%     
==========================================
  Files         672      672              
  Lines       39799    39812      +13     
==========================================
+ Hits        14667    14687      +20     
+ Misses      23510    23505       -5     
+ Partials     1622     1620       -2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Nov 25 '23 04:11 codecov-commenter

It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Mar 26 '24 01:03 github-actions[bot]