summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp13
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