diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 12:29:01 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 12:29:01 -0700 |
commit | cfe166ef359c0d92b1521e6c127e2b92238c0731 (patch) | |
tree | f2dace63a64f92ba2b3da185dee2d1800e91bfb7 | |
parent | 0ffbd05c0e14088ddb7eaecba7f19541651e859b (diff) | |
download | infinitytier-cfe166ef359c0d92b1521e6c127e2b92238c0731.tar.gz infinitytier-cfe166ef359c0d92b1521e6c127e2b92238c0731.zip |
Tweak some size limits.
-rw-r--r-- | include/ZeroTierOne.h | 2 | ||||
-rw-r--r-- | node/Cluster.hpp | 2 |
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 { |