summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-05 17:28:55 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-05 17:28:55 -0800
commitba5008c3701d9621ef9ccfd9b864d5eed923a3c4 (patch)
treeb86d7fcbe4f1c9c4094527b1430012221c7cabb5
parent3fa1b5a89d9ba9af8590832440887002d517ff68 (diff)
downloadinfinitytier-ba5008c3701d9621ef9ccfd9b864d5eed923a3c4.tar.gz
infinitytier-ba5008c3701d9621ef9ccfd9b864d5eed923a3c4.zip
Now make cluster announcements slightly more frequent.
-rw-r--r--node/Cluster.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Cluster.hpp b/node/Cluster.hpp
index b1007de8..5b5d6d32 100644
--- a/node/Cluster.hpp
+++ b/node/Cluster.hpp
@@ -55,7 +55,7 @@
/**
* How often should we announce that we have a peer?
*/
-#define ZT_CLUSTER_HAVE_PEER_ANNOUNCE_PERIOD ZT_PEER_DIRECT_PING_DELAY
+#define ZT_CLUSTER_HAVE_PEER_ANNOUNCE_PERIOD ((ZT_PEER_DIRECT_PING_DELAY / 2) - 1000)
/**
* Desired period between doPeriodicTasks() in milliseconds