summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 12:29:01 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 12:29:01 -0700
commitcfe166ef359c0d92b1521e6c127e2b92238c0731 (patch)
treef2dace63a64f92ba2b3da185dee2d1800e91bfb7
parent0ffbd05c0e14088ddb7eaecba7f19541651e859b (diff)
downloadinfinitytier-cfe166ef359c0d92b1521e6c127e2b92238c0731.tar.gz
infinitytier-cfe166ef359c0d92b1521e6c127e2b92238c0731.zip
Tweak some size limits.
-rw-r--r--include/ZeroTierOne.h2
-rw-r--r--node/Cluster.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 7af4f760..7371b9f0 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -141,7 +141,7 @@ extern "C" {
/**
* Maximum allowed cluster message length in bytes
*/
-#define ZT_CLUSTER_MAX_MESSAGE_LENGTH (1444 * 6)
+#define ZT_CLUSTER_MAX_MESSAGE_LENGTH (1444 * 4)
/**
* A null/empty sockaddr (all zero) to signify an unspecified socket address
diff --git a/node/Cluster.hpp b/node/Cluster.hpp
index 7d0c6a08..bb7d3b39 100644
--- a/node/Cluster.hpp
+++ b/node/Cluster.hpp
@@ -57,7 +57,7 @@
/**
* Desired period between doPeriodicTasks() in milliseconds
*/
-#define ZT_CLUSTER_PERIODIC_TASK_PERIOD 100
+#define ZT_CLUSTER_PERIODIC_TASK_PERIOD 50
namespace ZeroTier {