Closed afq984 closed 5 months ago
The lower bound has an off-by-one error: 2^0 + 2^1 + ... + 2^(n-1) sums up to 2^n-1.
Verified with:
go test -count=1000 -run TestShouldUseExponentialBackoffIfNoRetryHeader ./httputil -v
The lower bound has an off-by-one error: 2^0 + 2^1 + ... + 2^(n-1) sums up to 2^n-1.
Verified with: