mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
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…
x
Reference in New Issue
Block a user