mirror of
https://github.com/go-micro/go-micro.git
synced 2025-10-06 21:46:55 +02:00
fix: new pool cannot customize closetimeout (#2808)
This commit is contained in:
@@ -373,6 +373,7 @@ func (r *rpcClient) Init(opts ...Option) error {
|
|||||||
pool.Size(r.opts.PoolSize),
|
pool.Size(r.opts.PoolSize),
|
||||||
pool.TTL(r.opts.PoolTTL),
|
pool.TTL(r.opts.PoolTTL),
|
||||||
pool.Transport(r.opts.Transport),
|
pool.Transport(r.opts.Transport),
|
||||||
|
pool.CloseTimeout(r.opts.PoolCloseTimeout),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user