Rebase cleanup

This commit is contained in:
Nate Brown
2025-11-03 22:21:20 -06:00
committed by JackDoan
parent e96e9e3cfa
commit 252950c02d
3 changed files with 4 additions and 6 deletions

View File

@@ -151,8 +151,7 @@ func (u *RIOConn) ListenOut(r EncReader) error {
if err != nil {
if errors.Is(err, net.ErrClosed) {
u.l.WithError(err).Debug("udp socket is closed, exiting read loop")
return
return err
}
// Dampen unexpected message warns to once per minute
if lastRecvErr.IsZero() || time.Since(lastRecvErr) > time.Minute {