later offlinemap

This commit is contained in:
Martin Geno 2016-07-14 14:13:26 +02:00
parent 2afc795e74
commit 9c73746cc8
1 changed files with 1 additions and 1 deletions

View File

@ -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
}