We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c71cc commit 99109c1Copy full SHA for 99109c1
redis_test.go
@@ -93,6 +93,10 @@ var _ = Describe("Client", func() {
93
var res []string
94
res = append(res, "before")
95
96
+ client := redis.NewClient(&redis.Options{
97
+ Addr: redisAddr,
98
+ MaxRetries: 1,
99
+ })
100
client.WithTimeout(10 * time.Millisecond)
101
client.AddHook(&hook{
102
dialHook: func(hook redis.DialHook) redis.DialHook {
0 commit comments