summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index e8a3e020..4f45f616 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -482,7 +482,11 @@
/**
* Timeout for overall peer activity (measured from last receive)
*/
+#ifndef ZT_SDK
#define ZT_PEER_ACTIVITY_TIMEOUT 500000
+#else
+#define ZT_PEER_ACTIVITY_TIMEOUT 30000
+#endif
/**
* General rate limit timeout for multiple packet types (HELLO, etc.)