forked from mirror/redis
Fix doc comment for PoolTimeout.
This commit is contained in:
parent
7ea220f54d
commit
b792d8a4cf
2
redis.go
2
redis.go
|
@ -121,7 +121,7 @@ type Options struct {
|
|||
PoolSize int
|
||||
// Specifies amount of time client waits for connection if all
|
||||
// connections are busy before returning an error.
|
||||
// Default is 5 seconds.
|
||||
// Default is 1 seconds.
|
||||
PoolTimeout time.Duration
|
||||
// Specifies amount of time after which client closes idle
|
||||
// connections. Should be less than server's timeout.
|
||||
|
|
Loading…
Reference in New Issue