doc: mismatched IdleTimeout default value

This commit is contained in:
Yin Jifeng 2017-04-17 17:30:40 +08:00
parent 7c3f4d045e
commit d9dd5852ab
1 changed files with 1 additions and 1 deletions

View File

@ -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.