Add port flap and port down error tracking with faster ping

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-31 13:01:07 -08:00
parent d1b4de01e8
commit 5a7596b456
5 changed files with 88 additions and 15 deletions

View File

@@ -172,7 +172,7 @@ func (t *Tendrils) pingNode(node *Node) {
anyReachable := false
for _, ipStr := range ips {
if t.ping.Ping(ipStr, 2*time.Second) {
if t.ping.Ping(ipStr, 1*time.Second) {
anyReachable = true
break
}