Make multicast gather slightly more aggressive, and add total to list command in testnet.

This commit is contained in:
Adam Ierymenko
2014-10-28 15:33:10 -07:00
parent 3e948fcd93
commit 4dec598fb8
4 changed files with 43 additions and 36 deletions

View File

@ -242,16 +242,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
*
* Attempts will be made to gather recipients and send until we reach
* the limit or sending times out.
* This is how long we wait for explicit or implicit gather results.
*/
#define ZT_MULTICAST_TRANSMIT_TIMEOUT 5000