mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-06 02:28:23 +00:00
Tweak needsOurMembershipCertificate timing to resolve a possible source of occasional dropped packets.
This commit is contained in:
parent
63ec7e58d4
commit
4769dacf61
@ -419,7 +419,7 @@ bool Peer::needsOurNetworkMembershipCertificate(uint64_t nwid,uint64_t now,bool
|
|||||||
const uint64_t tmp = lastPushed;
|
const uint64_t tmp = lastPushed;
|
||||||
if (updateLastPushedTime)
|
if (updateLastPushedTime)
|
||||||
lastPushed = now;
|
lastPushed = now;
|
||||||
return ((now - tmp) >= (ZT_NETWORK_AUTOCONF_DELAY / 2));
|
return ((now - tmp) >= (ZT_NETWORK_AUTOCONF_DELAY / 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Peer::clean(uint64_t now)
|
void Peer::clean(uint64_t now)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user