This commit is contained in:
jamsonzan 2019-12-15 15:05:19 +08:00
parent 64e438a8d4
commit 572fe58314

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