diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 16:42:17 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 16:42:17 -0700 |
commit | 6ee201865b12f5b0f16208f6d696b1bf00197eaf (patch) | |
tree | 07d7c9c1cc24b532946269506374c01eb59478a1 /node/Constants.hpp | |
parent | b1d94c9f9324a31887dc6edc99ed58d4f9b187db (diff) | |
download | infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.tar.gz infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.zip |
Clean up WHOIS code.
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 27dce075..cda1af3b 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -229,19 +229,14 @@ #define ZT_WHOIS_RETRY_DELAY 500 /** - * Maximum identity WHOIS retries (each attempt tries consulting a different peer) - */ -#define ZT_MAX_WHOIS_RETRIES 5 - -/** * Transmit queue entry timeout */ -#define ZT_TRANSMIT_QUEUE_TIMEOUT (ZT_WHOIS_RETRY_DELAY * (ZT_MAX_WHOIS_RETRIES + 1)) +#define ZT_TRANSMIT_QUEUE_TIMEOUT 5000 /** * Receive queue entry timeout */ -#define ZT_RECEIVE_QUEUE_TIMEOUT (ZT_WHOIS_RETRY_DELAY * (ZT_MAX_WHOIS_RETRIES + 1)) +#define ZT_RECEIVE_QUEUE_TIMEOUT 5000 /** * Maximum latency to allow for OK(HELLO) before packet is discarded |