From d9dd5852abb4bb35aa86318813c9c284a4124124 Mon Sep 17 00:00:00 2001 From: Yin Jifeng Date: Mon, 17 Apr 2017 17:30:40 +0800 Subject: [PATCH] doc: mismatched IdleTimeout default value --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index e92e11c..29b6c5f 100644 --- a/options.go +++ b/options.go @@ -55,7 +55,7 @@ type Options struct { PoolTimeout time.Duration // Amount of time after which client closes idle connections. // Should be less than server's timeout. - // Default is to not close idle connections. + // Default is 5 minutes. IdleTimeout time.Duration // Frequency of idle checks. // Default is 1 minute.