diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-10 12:55:06 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-10 12:55:06 -0700 |
| commit | 03dc823ad7732fde2ccfa30446778fa229d69760 (patch) | |
| tree | cd2fb88862b9865a95b548767c52501a5121b3ed /node/NetworkConfig.cpp | |
| parent | 1774e615a18b6f02a2e202814a61384a50a80978 (diff) | |
| download | infinitytier-03dc823ad7732fde2ccfa30446778fa229d69760.tar.gz infinitytier-03dc823ad7732fde2ccfa30446778fa229d69760.zip | |
(1) Back off a little on default max multicast limit since 128 is pretty bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs.
Diffstat (limited to 'node/NetworkConfig.cpp')
| -rw-r--r-- | node/NetworkConfig.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/node/NetworkConfig.cpp b/node/NetworkConfig.cpp index 124171a7..b3e2c178 100644 --- a/node/NetworkConfig.cpp +++ b/node/NetworkConfig.cpp @@ -33,9 +33,8 @@ namespace ZeroTier { // This is fast enough for things like Apple's mDNS spam, so it should serve -// as a good default for your average network. It's 64 bytes per second, with -// a starting and max balance of 64k. -const NetworkConfig::MulticastRate NetworkConfig::DEFAULT_MULTICAST_RATE(32768,32768,64); +// as a good default for your average network. +const NetworkConfig::MulticastRate NetworkConfig::DEFAULT_MULTICAST_RATE(40000,60000,80); SharedPtr<NetworkConfig> NetworkConfig::createTestNetworkConfig(const Address &self) { |
