Some cleanup, and use getPeerNoCache() exclusively in Cluster.
This commit is contained in:
parent
4221552c0b
commit
51fcc75354
3 changed files with 40 additions and 13 deletions
|
@ -47,7 +47,7 @@
|
|||
/**
|
||||
* Timeout for cluster members being considered "alive"
|
||||
*/
|
||||
#define ZT_CLUSTER_TIMEOUT 10000
|
||||
#define ZT_CLUSTER_TIMEOUT 20000
|
||||
|
||||
/**
|
||||
* How often should we announce that we have a peer?
|
||||
|
@ -349,6 +349,7 @@ private:
|
|||
};
|
||||
Hashtable< Address,_PA > _peerAffinities;
|
||||
Mutex _peerAffinities_m;
|
||||
uint64_t _lastCleanedPeerAffinities;
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue