Clean up some routine stuff like pings, and stop keeping links open forever even if there are no frames passing between them.
This commit is contained in:
parent
b8a9b42993
commit
58538500f2
7 changed files with 85 additions and 70 deletions
|
@ -379,7 +379,7 @@ unsigned long Switch::doTimerTasks()
|
|||
void Switch::announceMulticastGroups(const std::map< SharedPtr<Network>,std::set<MulticastGroup> > &allMemberships)
|
||||
{
|
||||
std::vector< SharedPtr<Peer> > directPeers;
|
||||
_r->topology->eachPeer(Topology::CollectPeersWithActiveDirectPath(directPeers));
|
||||
_r->topology->eachPeer(Topology::CollectPeersWithActiveDirectPath(directPeers,Utils::now()));
|
||||
|
||||
#ifdef ZT_TRACE
|
||||
unsigned int totalMulticastGroups = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue