mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 14:48:17 +00:00
The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
This commit is contained in:
@ -287,9 +287,9 @@
|
||||
#define ZT_DESPERATION_INCREMENT (ZT_STARTUP_AGGRO * 2)
|
||||
|
||||
/**
|
||||
* "Spam" packets to lower desperation links every Nth packet
|
||||
* Interval between "spams" if desperation > 0
|
||||
*/
|
||||
#define ZT_DESPERATION_SPAM_EVERY 10
|
||||
#define ZT_DESPERATION_SPAM_INTERVAL 60000
|
||||
|
||||
/**
|
||||
* Maximum delay between runs of the main loop in Node.cpp
|
||||
|
Reference in New Issue
Block a user