Skip to content
Snippets Groups Projects
Commit 5af46ea3 authored by Jonah Husson's avatar Jonah Husson
Browse files

tracker shouldn't exit when it goes unhealthy

parent b603dfe8
No related branches found
No related tags found
1 merge request!23Release
......@@ -191,8 +191,10 @@ func (t *Tracker) start(stop *stoppable.Single) {
t.setHealth(true)
}
case <-timer.C:
if !t.isHealthy {
jww.WARN.Printf("Network health tracker timed out, network is no longer healthy...")
}
t.setHealth(false)
return
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment