summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-10 11:59:03 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-10 11:59:03 -0800
commit2854f14966b430e551c2ca101694f542bdaa38b9 (patch)
tree64557e1323239d2611cbfebd427f37c707dbf826 /node
parent4328c6c3bc402feffc06aade0059a6632b34c087 (diff)
downloadinfinitytier-2854f14966b430e551c2ca101694f542bdaa38b9.tar.gz
infinitytier-2854f14966b430e551c2ca101694f542bdaa38b9.zip
Some cluster parameter tweaks, and change the test code in tests/http to dramatically reduce the amount of data transfer to/from the test master. Also add results of first successful 50k test.
Diffstat (limited to 'node')
-rw-r--r--node/Cluster.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Cluster.hpp b/node/Cluster.hpp
index 23306a8e..87452b6f 100644
--- a/node/Cluster.hpp
+++ b/node/Cluster.hpp
@@ -56,7 +56,7 @@
/**
* Desired period between doPeriodicTasks() in milliseconds
*/
-#define ZT_CLUSTER_PERIODIC_TASK_PERIOD 25
+#define ZT_CLUSTER_PERIODIC_TASK_PERIOD 50
/**
* How often to flush outgoing message queues (maximum interval)
@@ -71,7 +71,7 @@
/**
* Expiration time for send queue entries
*/
-#define ZT_CLUSTER_QUEUE_EXPIRATION 1500
+#define ZT_CLUSTER_QUEUE_EXPIRATION 5000
namespace ZeroTier {