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