mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 20:41:44 -07:00
Make cluster HAVE_PEER a little lighter by removing full identity. Technically this is not necessary and they will propagate over time in any case. Might restore it in some form in the future.
This commit is contained in:
parent
7603d8cee8
commit
3fa1b5a89d
3 changed files with 21 additions and 29 deletions
|
@ -87,9 +87,8 @@ public:
|
|||
* across the entire cluster to remain in memory cache.
|
||||
*
|
||||
* @param zta ZeroTier address
|
||||
* @param now Current time
|
||||
*/
|
||||
inline SharedPtr<Peer> getPeerNoCache(const Address &zta,const uint64_t now)
|
||||
inline SharedPtr<Peer> getPeerNoCache(const Address &zta)
|
||||
{
|
||||
Mutex::Lock _l(_lock);
|
||||
const SharedPtr<Peer> *const ap = _peers.get(zta);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue