diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-09 14:25:28 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-09 14:25:28 -0800 |
| commit | 35c4e28f314881f3f6647deaaaf3e58d2ccb5417 (patch) | |
| tree | 5c9a2a65766b088aecb1d56b9867e89b1afb305b /node/Cluster.hpp | |
| parent | 47424df417dcbeec9e6415a85176299604b0fde2 (diff) | |
| download | infinitytier-35c4e28f314881f3f6647deaaaf3e58d2ccb5417.tar.gz infinitytier-35c4e28f314881f3f6647deaaaf3e58d2ccb5417.zip | |
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.
Diffstat (limited to 'node/Cluster.hpp')
| -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 4197a14b..1c4331b4 100644 --- a/node/Cluster.hpp +++ b/node/Cluster.hpp @@ -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 |
