diff --git a/machine.go b/machine.go index 2aae7911..1f958cce 100644 --- a/machine.go +++ b/machine.go @@ -146,6 +146,10 @@ func (machine *Machine) isOnline() bool { return false } + if machine.isExpired() { + return false + } + return machine.LastSeen.After(time.Now().Add(-keepAliveInterval)) }