mirror of https://github.com/grpc/grpc-go.git
internal: fix initialBackoff typo (#3289)
This commit is contained in:
parent
287dc3e58a
commit
10cea4324e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue