Bug fix - peer Up calculation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user