Add some rate limiting to implicit gathers, and always send multicasts to at least one supernode so they can broadcast to old peers (temporary).
This commit is contained in:
parent
e7c81ef34e
commit
62da7e67b6
3 changed files with 40 additions and 5 deletions
|
@ -240,7 +240,12 @@
|
|||
/**
|
||||
* Delay between explicit MULTICAST_GATHER requests for a given multicast channel
|
||||
*/
|
||||
#define ZT_MULTICAST_GATHER_DELAY (ZT_MULTICAST_LIKE_EXPIRE / 10)
|
||||
#define ZT_MULTICAST_EXPLICIT_GATHER_DELAY (ZT_MULTICAST_LIKE_EXPIRE / 10)
|
||||
|
||||
/**
|
||||
* Minimum delay between implicit gathers via MULTICAST_FRAME
|
||||
*/
|
||||
#define ZT_MULTICAST_IMPLICIT_GATHER_DELAY 30000
|
||||
|
||||
/**
|
||||
* Timeout for outgoing multicasts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue