We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce5e42 commit 8b26373Copy full SHA for 8b26373
interceptors/retry/backoff.go
@@ -27,7 +27,7 @@ func jitterUp(duration time.Duration, jitter float64) time.Duration {
27
28
// exponentBase2 computes 2^(a-1) where a >= 1. If a is 0, the result is 1.
29
// if a is greater than 62, the result is 2^62 to avoid overflowing int64
30
-func exponentBase2(a uint) uint {
+func exponentBase2(a uint) uint64 {
31
if a == 0 {
32
return 1
33
}
0 commit comments