mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
add disable/-1 comment to max retries
This commit is contained in:
parent
72e5988b6e
commit
9c56dbd862
@ -58,7 +58,7 @@ type Options struct {
|
||||
DB int
|
||||
|
||||
// Maximum number of retries before giving up.
|
||||
// Default is 3 retries.
|
||||
// Default is 3 retries; -1 (not 0) disables retries.
|
||||
MaxRetries int
|
||||
// Minimum backoff between each retry.
|
||||
// Default is 8 milliseconds; -1 disables backoff.
|
||||
|
Loading…
x
Reference in New Issue
Block a user