diff options
author | Grant Limberg <glimberg@gmail.com> | 2015-07-07 19:24:02 -0700 |
---|---|---|
committer | Grant Limberg <glimberg@gmail.com> | 2015-07-07 19:24:02 -0700 |
commit | 1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb (patch) | |
tree | d8264c9bd4f6b9dce3f5237b94fe1f2fc521cf19 /node/Constants.hpp | |
parent | 6d398beefddb48d91f27e5f41bf39f40eb77222f (diff) | |
parent | 412389ec755528108e0254e75a9cf43fc53e331a (diff) | |
download | infinitytier-1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb.tar.gz infinitytier-1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb.zip |
Merge branch 'adamierymenko-dev' into android-jni
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index ac9dbc99..d15fef13 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -305,19 +305,14 @@ #define ZT_ANTIRECURSION_HISTORY_SIZE 16 /** - * How often to send LAN beacons - */ -#define ZT_BEACON_INTERVAL 30000 - -/** - * Do not respond to any beacon more often than this + * Minimum delay between attempts to confirm new paths to peers (to avoid HELLO flooding) */ -#define ZT_MIN_BEACON_RESPONSE_INTERVAL 2500 +#define ZT_MIN_PATH_CONFIRMATION_INTERVAL 5000 /** - * Minimum delay between attempts to confirm new paths to peers (to avoid HELLO flooding) + * Interval between direct path pushes in milliseconds */ -#define ZT_MIN_PATH_CONFIRMATION_INTERVAL 5000 +#define ZT_DIRECT_PATH_PUSH_INTERVAL 300000 /** * Sanity limit on maximum bridge routes |