Merge branch 'debug-slow-conn' into fix/missed-offers-and-debug

This commit is contained in:
Zoltán Papp
2025-09-04 11:36:08 +02:00
4 changed files with 16 additions and 2 deletions
+4
View File
@@ -101,6 +101,10 @@ func (w *WGWatcher) periodicHandshakeCheck(ctx context.Context, ctxCancel contex
onDisconnectedFn()
return
}
if lastHandshake.IsZero() {
w.log.Infof("first wg handshake detected at: %s", handshake)
}
lastHandshake = *handshake
resetTime := time.Until(handshake.Add(checkPeriod))