From 618202d4264ff803a8d0fe08b06484b57125f9d8 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 25 Feb 2022 10:52:39 -0800 Subject: [PATCH] Increase min failover to 500 ms and probe period to 1/3rd of failover --- node/Constants.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/Constants.hpp b/node/Constants.hpp index 930c91299..d9a3e7964 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -571,13 +571,13 @@ * Anything below this value gets into thrashing territory since we divide * this value by ZT_BOND_ECHOS_PER_FAILOVER_INTERVAL to send ECHOs often. */ -#define ZT_BOND_FAILOVER_MIN_INTERVAL 250 +#define ZT_BOND_FAILOVER_MIN_INTERVAL 500 /** * How many times per failover interval that an ECHO is sent. This should be * at least 2. Anything more then 4 starts to increase overhead significantly. */ -#define ZT_BOND_ECHOS_PER_FAILOVER_INTERVAL 4 +#define ZT_BOND_ECHOS_PER_FAILOVER_INTERVAL 3 /** * A defensive timer to prevent path quality metrics from being