1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00
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