Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
connector/local: add exponential backoff to connect retry count #1148
As @garlick suggested in #677, add an exponential backoff to local connector connect retries, rename the variable to tune the retry count from
I tried to make the the default retry count of 5 still time out after ~500ms, so I made the starting sleep 16ms, which should sleep a total of 496ms in the default cause -- unless in my haste I did some math wrong.
@@ Coverage Diff @@ ## master #1148 +/- ## ========================================== - Coverage 77.62% 77.56% -0.06% ========================================== Files 157 157 Lines 28680 28694 +14 ========================================== - Hits 22262 22257 -5 - Misses 6418 6437 +19