Skip to content

Commit 5675347

Browse files
Merge branch 'master' into support_dial_options
2 parents 8af7dbe + 3da966a commit 5675347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func dialFuncWrapper(host string, authPass *string, options ...redis.DialOption)
100100
}
101101

102102
func testOnBorrow(c redis.Conn, t time.Time) (err error) {
103-
if time.Since(t) > time.Millisecond {
103+
if time.Since(t) > time.Minute {
104104
_, err = c.Do("PING")
105105
}
106106
return err

0 commit comments

Comments
 (0)