mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Fix doc comment for PoolTimeout.
This commit is contained in:
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.
|
||||
|
Reference in New Issue
Block a user