mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 06:38:25 +00:00
Increase min failover to 500 ms and probe period to 1/3rd of failover
This commit is contained in:
@ -571,13 +571,13 @@
|
|||||||
* Anything below this value gets into thrashing territory since we divide
|
* Anything below this value gets into thrashing territory since we divide
|
||||||
* this value by ZT_BOND_ECHOS_PER_FAILOVER_INTERVAL to send ECHOs often.
|
* 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
|
* 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.
|
* 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
|
* A defensive timer to prevent path quality metrics from being
|
||||||
|
Reference in New Issue
Block a user