Skip to content

Commit 7b0fa8b

Browse files
authored
fix: new pool cannot customize closetimeout (#2808)
1 parent 059d317 commit 7b0fa8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/rpc_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ func (r *rpcClient) Init(opts ...Option) error {
373373
pool.Size(r.opts.PoolSize),
374374
pool.TTL(r.opts.PoolTTL),
375375
pool.Transport(r.opts.Transport),
376+
pool.CloseTimeout(r.opts.PoolCloseTimeout),
376377
)
377378
}
378379

0 commit comments

Comments
 (0)