summaryrefslogtreecommitdiffstats
path: root/src/build.h.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-11-18 03:44:26 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-11-18 03:44:26 +0100
commit5b1d1a36df766dd60eb68b24a5edf4229b68e564 (patch)
treeca098c7f7c8c2044c39752c7bf7bfa0511804738 /src/build.h.in
parent16e2b0213b54991d9f493d4c0ee7efca18436427 (diff)
downloadfastd-5b1d1a36df766dd60eb68b24a5edf4229b68e564.tar
fastd-5b1d1a36df766dd60eb68b24a5edf4229b68e564.zip
Unify periodic handshakes and peer maintenance
Diffstat (limited to 'src/build.h.in')
-rw-r--r--src/build.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build.h.in b/src/build.h.in
index 9b4727e..503348b 100644
--- a/src/build.h.in
+++ b/src/build.h.in
@@ -111,6 +111,12 @@
#define MAX_CONFIG_DEPTH @MAX_CONFIG_DEPTH_NUM@
+/** The default handshake interval */
+#define DEFAULT_HANDSHAKE_INTERVAL 20000 /* 20 seconds */
+
+/** The default handshake interval jitter */
+#define DEFAULT_HANDSHAKE_JITTER 2500 /* 2.5 seconds */
+
/** The interval of periodic maintenance tasks */
#define MAINTENANCE_INTERVAL 10000 /* 10 seconds */