diff options
-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 |