commit
f33b562c16
@ -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 {
|
func PoolTTL(d time.Duration) Option {
|
||||||
return func(o *Options) {
|
return func(o *Options) {
|
||||||
o.PoolTTL = d
|
o.PoolTTL = d
|
||||||
|
Loading…
Reference in New Issue
Block a user