increase tolerance for missed udp heartbeats
3 are quite easy to miss when there is contention. 6 less so.
This commit is contained in:
1 parent
df40c5b97e
commit
43133b5851
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ const (
|
|||||||
PMTUVerifyAttempts = 8
|
PMTUVerifyAttempts = 8
|
||||||
PMTUVerifyTimeout = 10 * time.Millisecond // gets doubled with every attempt
|
PMTUVerifyTimeout = 10 * time.Millisecond // gets doubled with every attempt
|
||||||
MaxDuration = time.Duration(math.MaxInt64)
|
MaxDuration = time.Duration(math.MaxInt64)
|
||||||
MaxMissedHeartbeats = 3
|
MaxMissedHeartbeats = 6
|
||||||
HeartbeatTimeout = MaxMissedHeartbeats * SlowHeartbeat
|
HeartbeatTimeout = MaxMissedHeartbeats * SlowHeartbeat
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user