Merge branch 'debug-slow-conn' into debug-and-fixes

This commit is contained in:
Zoltán Papp
2025-09-03 19:07:52 +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))