Skip to content

Commit

Permalink
Fix bug where ephemeral links would try to reconnect in a fast loop
Browse files Browse the repository at this point in the history
Helps #1141, although not a complete solution.
  • Loading branch information
neilalexander committed Sep 29, 2024
1 parent d6fd305 commit d1b8495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}()
})
Expand Down

0 comments on commit d1b8495

Please sign in to comment.