mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
parent
857caf3637
commit
400d62c1e6
@ -1085,6 +1085,7 @@ func (r nextDialRegistry) redialDevice(device protocol.DeviceID, now time.Time)
|
||||
dev, ok := r[device]
|
||||
if !ok {
|
||||
r[device] = nextDialDevice{
|
||||
nextDial: make(map[string]time.Time),
|
||||
coolDownIntervalStart: now,
|
||||
attempts: 1,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user