Bug fix - peer Up calculation

This commit is contained in:
jdl
2026-06-15 06:17:52 +02:00
parent 797ab8bdef
commit d02f47cce6
2 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ func (a *App) onPing(e PingEvent) {
now := time.Now()
peer.LastPing = now
// If we're the server, respond - this is always necessary as it's used to
// know if peers are up or down.
if peer.Role == control.Server {