mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 08:59:08 +02:00
Skip network map calculation when client serial matches current (#5198)
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
@@ -15,6 +15,9 @@ type PeerSync struct {
|
||||
// UpdateAccountPeers indicate updating account peers,
|
||||
// which occurs when the peer's metadata is updated
|
||||
UpdateAccountPeers bool
|
||||
// NetworkMapSerial is the last known network map serial number on the client.
|
||||
// Used to skip network map recalculation if client already has the latest.
|
||||
NetworkMapSerial uint64
|
||||
}
|
||||
|
||||
// PeerLogin used as a data object between the gRPC API and Manager on Login request.
|
||||
|
||||
Reference in New Issue
Block a user