mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Simplify doc wording
This commit is contained in:
@ -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.
|
||||||
|
Reference in New Issue
Block a user