mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-23 17:53:05 +02:00
comment
This commit is contained in:
parent
64e438a8d4
commit
572fe58314
@ -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…
x
Reference in New Issue
Block a user