Mark geo-redirected paths as suboptimal and do not report that we have a peer if all we have is one of these. Also a few other small fixes.
This commit is contained in:
parent
47424df417
commit
35c4e28f31
6 changed files with 60 additions and 47 deletions
|
@ -55,7 +55,7 @@
|
|||
* A cluster member is considered dead and will no longer have peers
|
||||
* redirected to it if we have not heard a heartbeat in this long.
|
||||
*/
|
||||
#define ZT_CLUSTER_TIMEOUT 10000
|
||||
#define ZT_CLUSTER_TIMEOUT 5000
|
||||
|
||||
/**
|
||||
* Desired period between doPeriodicTasks() in milliseconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue