Fix bug where ephemeral links would try to reconnect in a fast loop

Helps #1141, although not a complete solution.
This commit is contained in:
Neil Alexander 2024-09-29 21:23:45 +01:00
parent d6fd305f12
commit d1b849588f
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -359,8 +359,9 @@ func (l *links) add(u *url.URL, sintf string, linkType linkType) error {
if backoffNow() {
continue
}
return
}
// Ephemeral or incoming connections don't reconnect.
return
}
}()
})