Now make cluster announcements slightly more frequent.

This commit is contained in:
Adam Ierymenko 2015-11-05 17:28:55 -08:00
parent 3fa1b5a89d
commit ba5008c370

View File

@ -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