Change ECHO divisor from 20 to 6

This commit is contained in:
Joseph Henry 2022-02-25 11:29:07 -08:00
parent 84705aafc7
commit 1918c29fd7
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344

View file

@ -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;
}