Fix duplicate paths and reduce thrashing issues.
This commit is contained in:
parent
b2b3271a96
commit
72d48da210
2 changed files with 30 additions and 8 deletions
|
@ -573,6 +573,9 @@ private:
|
|||
uint16_t _vMinor;
|
||||
uint16_t _vRevision;
|
||||
|
||||
Hashtable< uint64_t, int64_t > _lastTriedPath;
|
||||
Mutex _lastTriedPath_m;
|
||||
|
||||
_PeerPath _paths[ZT_MAX_PEER_NETWORK_PATHS];
|
||||
Mutex _paths_m;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue