Merge pull request #1043 from jamsonzan/branch0

comment
This commit is contained in:
Asim Aslam 2019-12-15 10:50:52 +00:00 committed by GitHub
commit f33b562c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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