Add some rate limiting to implicit gathers, and always send multicasts to at least one supernode so they can broadcast to old peers (temporary).
This commit is contained in:
parent
e7c81ef34e
commit
62da7e67b6
3 changed files with 40 additions and 5 deletions
|
@ -72,9 +72,10 @@ private:
|
|||
|
||||
struct MulticastGroupStatus
|
||||
{
|
||||
MulticastGroupStatus() : lastExplicitGather(0) {}
|
||||
MulticastGroupStatus() : lastExplicitGather(0),lastImplicitGather(0) {}
|
||||
|
||||
uint64_t lastExplicitGather; // time we last gathered members explicitly
|
||||
uint64_t lastExplicitGather;
|
||||
uint64_t lastImplicitGather;
|
||||
std::list<OutboundMulticast> txQueue; // pending outbound multicasts
|
||||
std::vector<MulticastGroupMember> members; // members of this group
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue