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:
parent
5f51653f9c
commit
a69e1876f1
11 changed files with 180 additions and 428 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue