mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +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)
|
||||
{
|
||||
if ((now - _lastEchoRequestReceived) >= (ZT_PEER_GENERAL_RATE_LIMIT / 16)) {
|
||||
if ((now - _lastEchoRequestReceived) >= (ZT_PEER_GENERAL_RATE_LIMIT / 20)) {
|
||||
_lastEchoRequestReceived = now;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue