Преглед на файлове

Change ECHO divisor from 20 to 6

Joseph Henry преди 3 години
родител
ревизия
1918c29fd7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 / 20)) {
+		if ((now - _lastEchoRequestReceived) >= (ZT_PEER_GENERAL_RATE_LIMIT / 6)) {
 			_lastEchoRequestReceived = now;
 			return true;
 		}