@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user