From 572fe5831441e6a58071e3e17789f6d4f21444e1 Mon Sep 17 00:00:00 2001 From: jamsonzan <805373357@qq.com> Date: Sun, 15 Dec 2019 15:05:19 +0800 Subject: [PATCH] comment --- client/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/options.go b/client/options.go index 5a7654a4..694a2fe9 100644 --- a/client/options.go +++ b/client/options.go @@ -160,7 +160,7 @@ func PoolSize(d int) Option { } } -// PoolSize sets the connection pool size +// PoolTTL sets the connection pool ttl func PoolTTL(d time.Duration) Option { return func(o *Options) { o.PoolTTL = d