mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
Merge pull request #547 from flisky/master
doc: mismatched IdleTimeout default value
This commit is contained in:
commit
00cb257bb4
@ -55,7 +55,7 @@ type Options struct {
|
|||||||
PoolTimeout time.Duration
|
PoolTimeout time.Duration
|
||||||
// Amount of time after which client closes idle connections.
|
// Amount of time after which client closes idle connections.
|
||||||
// Should be less than server's timeout.
|
// Should be less than server's timeout.
|
||||||
// Default is to not close idle connections.
|
// Default is 5 minutes.
|
||||||
IdleTimeout time.Duration
|
IdleTimeout time.Duration
|
||||||
// Frequency of idle checks.
|
// Frequency of idle checks.
|
||||||
// Default is 1 minute.
|
// Default is 1 minute.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user