From 43133b5851e5c45ebdce6bd42689dacdf695f78b Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 11 May 2015 18:35:06 +0100 Subject: [PATCH] increase tolerance for missed udp heartbeats 3 are quite easy to miss when there is contention. 6 less so. --- router/consts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/consts.go b/router/consts.go index c0cc0b09..af6ad0fe 100644 --- a/router/consts.go +++ b/router/consts.go @@ -22,7 +22,7 @@ const ( PMTUVerifyAttempts = 8 PMTUVerifyTimeout = 10 * time.Millisecond // gets doubled with every attempt MaxDuration = time.Duration(math.MaxInt64) - MaxMissedHeartbeats = 3 + MaxMissedHeartbeats = 6 HeartbeatTimeout = MaxMissedHeartbeats * SlowHeartbeat )