lib/connections: Dialer code deduplication (#6187)
This commit is contained in:
committed by
Audrius Butkevicius
parent
4340589501
commit
33258b06f4
@@ -442,7 +442,7 @@ func (s *service) connect(ctx context.Context) {
|
||||
continue
|
||||
}
|
||||
|
||||
dialer := dialerFactory.New(s.cfg, s.tlsCfg)
|
||||
dialer := dialerFactory.New(s.cfg.Options(), s.tlsCfg)
|
||||
nextDial[nextDialKey] = now.Add(dialer.RedialFrequency())
|
||||
|
||||
// For LAN addresses, increase the priority so that we
|
||||
|
||||
Reference in New Issue
Block a user