From b792d8a4cfb90c976c81c693c37309358d60dffc Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 18 Nov 2015 16:35:02 +0200 Subject: [PATCH] Fix doc comment for PoolTimeout. --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index 6d654b10..cd88cefd 100644 --- a/redis.go +++ b/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.