From 9c73746cc8424d06dcb8dc675962c4a1d495112e Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Thu, 14 Jul 2016 14:13:26 +0200 Subject: [PATCH] later offlinemap --- models/nodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/nodes.go b/models/nodes.go index ac9eb92..8a01ff7 100644 --- a/models/nodes.go +++ b/models/nodes.go @@ -153,7 +153,7 @@ func (nodes *Nodes) worker() { // // set node as offline (without statistics) for _, node := range nodes.List { - if node.Statistics != nil && nodes.Timestamp.After(node.Lastseen.Add(time.Second*time.Duration(5*nodes.config.Respondd.CollectInterval))) { + if node.Statistics != nil && nodes.Timestamp.After(node.Lastseen.Add(time.Second*time.Duration(10*nodes.config.Respondd.CollectInterval))) { if node.Flags != nil { node.Flags.Online = false }