mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Tweak number of retries
This commit is contained in:
@ -215,7 +215,7 @@ var _ = Describe("Client", func() {
|
||||
It("should retry with backoff", func() {
|
||||
clientNoRetry := redis.NewClient(&redis.Options{
|
||||
Addr: ":1234",
|
||||
MaxRetries: 0,
|
||||
MaxRetries: -1,
|
||||
})
|
||||
defer clientNoRetry.Close()
|
||||
|
||||
|
Reference in New Issue
Block a user