Ver Fonte

Change ECHO rate-limit divsor from 16 to 20

Joseph Henry há 3 anos atrás
pai
commit
d1335dca11
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      node/Path.hpp

+ 1 - 1
node/Path.hpp

@@ -273,7 +273,7 @@ public:
 	 */
 	inline bool rateGateEchoRequest(const int64_t now)
 	{
-		if ((now - _lastEchoRequestReceived) >= (ZT_PEER_GENERAL_RATE_LIMIT / 16)) {
+		if ((now - _lastEchoRequestReceived) >= (ZT_PEER_GENERAL_RATE_LIMIT / 20)) {
 			_lastEchoRequestReceived = now;
 			return true;
 		}