mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Change ECHO rate-limit divsor from 16 to 20
This commit is contained in:
parent
5e13b42abc
commit
d1335dca11
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ public:
|
||||||
*/
|
*/
|
||||||
inline bool rateGateEchoRequest(const int64_t now)
|
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;
|
_lastEchoRequestReceived = now;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue