diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-05 17:28:55 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-05 17:28:55 -0800 |
commit | ba5008c3701d9621ef9ccfd9b864d5eed923a3c4 (patch) | |
tree | b86d7fcbe4f1c9c4094527b1430012221c7cabb5 | |
parent | 3fa1b5a89d9ba9af8590832440887002d517ff68 (diff) | |
download | infinitytier-ba5008c3701d9621ef9ccfd9b864d5eed923a3c4.tar.gz infinitytier-ba5008c3701d9621ef9ccfd9b864d5eed923a3c4.zip |
Now make cluster announcements slightly more frequent.
-rw-r--r-- | node/Cluster.hpp | 2 |
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 |