parent
857caf3637
commit
400d62c1e6
|
@ -1085,6 +1085,7 @@ func (r nextDialRegistry) redialDevice(device protocol.DeviceID, now time.Time)
|
||||||
dev, ok := r[device]
|
dev, ok := r[device]
|
||||||
if !ok {
|
if !ok {
|
||||||
r[device] = nextDialDevice{
|
r[device] = nextDialDevice{
|
||||||
|
nextDial: make(map[string]time.Time),
|
||||||
coolDownIntervalStart: now,
|
coolDownIntervalStart: now,
|
||||||
attempts: 1,
|
attempts: 1,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue