mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 04:56:55 +02:00
Change ECHO divisor from 20 to 6
This commit is contained in:
parent
84705aafc7
commit
1918c29fd7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue