internal: fix initialBackoff typo (#3289)

This commit is contained in:
Ning Xie 2020-01-07 02:22:54 +08:00 committed by Menghan Li
parent 287dc3e58a
commit 10cea4324e
1 changed files with 2 additions and 2 deletions

View File

@ -136,9 +136,9 @@ type retryPolicy struct {
maxAttempts int maxAttempts int
// Exponential backoff parameters. The initial retry attempt will occur at // Exponential backoff parameters. The initial retry attempt will occur at
// random(0, initialBackoffMS). In general, the nth attempt will occur at // random(0, initialBackoff). In general, the nth attempt will occur at
// random(0, // random(0,
// min(initialBackoffMS*backoffMultiplier**(n-1), maxBackoffMS)). // min(initialBackoff*backoffMultiplier**(n-1), maxBackoff)).
// //
// These fields are required and must be greater than zero. // These fields are required and must be greater than zero.
initialBackoff time.Duration initialBackoff time.Duration