mirror of https://github.com/go-redis/redis.git
Simplify doc wording
This commit is contained in:
parent
663bb76bcc
commit
3802e09b42
|
@ -37,8 +37,8 @@ type Options struct {
|
||||||
// Default is to not retry failed commands.
|
// Default is to not retry failed commands.
|
||||||
MaxRetries int
|
MaxRetries int
|
||||||
|
|
||||||
// Retry using exponential backoff wait algorithm between each retry
|
// Maximum backoff between each retry.
|
||||||
// Default is 512 milliseconds; set to -1 to disable any backoff sleep
|
// Default is 512 seconds; -1 disables backoff.
|
||||||
MaxRetryBackoff time.Duration
|
MaxRetryBackoff time.Duration
|
||||||
|
|
||||||
// Dial timeout for establishing new connections.
|
// Dial timeout for establishing new connections.
|
||||||
|
|
Loading…
Reference in New Issue