Tweak some size limits.

This commit is contained in:
Adam Ierymenko 2015-10-27 12:29:01 -07:00
parent 0ffbd05c0e
commit cfe166ef35
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 {