satellite/metainfo/piecedeletion: enable connection pool
We want to enable connection pool for piece deletion to avoid doing multiple SSL hanshakes to SN while massive deletion process. Change-Id: Ic917e4eda304ee16a286926ef046fe9e38bf38ca
This commit is contained in:
parent
bb55c30594
commit
f93dc5a166
@ -109,6 +109,8 @@ func NewService(log *zap.Logger, dialer rpc.Dialer, nodesDB Nodes, config Config
|
||||
dialerClone.DialTimeout = config.DialTimeout
|
||||
}
|
||||
|
||||
dialerClone.Pool = rpc.NewDefaultConnectionPool()
|
||||
|
||||
return &Service{
|
||||
log: log,
|
||||
config: config,
|
||||
|
Loading…
Reference in New Issue
Block a user