Browse Source

Now make cluster announcements slightly more frequent.

Adam Ierymenko 9 years ago
parent
commit
ba5008c370
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Cluster.hpp

+ 1 - 1
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