diff options
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index b3c3dec0..b7042d5d 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -296,7 +296,12 @@ /** * General rate limit timeout for multiple packet types (HELLO, etc.) */ -#define ZT_PEER_GENERAL_INBOUND_RATE_LIMIT 1000 +#define ZT_PEER_GENERAL_INBOUND_RATE_LIMIT 500 + +/** + * General limit for max RTT for requests over the network + */ +#define ZT_GENERAL_RTT_LIMIT 5000 /** * Delay between requests for updated network autoconf information |