瀏覽代碼

Crank down default multicast preload and max balance just a little bit... should not impact non-lame protocols.

Adam Ierymenko 11 年之前
父節點
當前提交
73c1d43f2f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      node/NetworkConfig.cpp

+ 1 - 1
node/NetworkConfig.cpp

@@ -33,7 +33,7 @@ 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(65535,65535,64);
+const NetworkConfig::MulticastRate NetworkConfig::DEFAULT_MULTICAST_RATE(32768,32768,64);
 
 std::set<unsigned int> NetworkConfig::allowedEtherTypes() const
 {