mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-22 17:08:58 +00:00
Announce that we have peers on the cluster when we first see them to improve startup times, and add a result crunching script to tests/http.
This commit is contained in:
@ -187,6 +187,11 @@ void Peer::received(
|
||||
_sortPaths(now);
|
||||
}
|
||||
|
||||
#ifdef ZT_ENABLE_CLUSTER
|
||||
if ((RR->cluster)&&(!suboptimalPath))
|
||||
RR->cluster->broadcastHavePeer(_id);
|
||||
#endif
|
||||
|
||||
} else {
|
||||
|
||||
/* If this path is not known, send a HELLO. We don't learn
|
||||
|
Reference in New Issue
Block a user