[management] batch disconnect and lock free reconnect (#8373)

This commit is contained in:
Pascal Fischer
2026-10-27 16:24:46 +01:00
committed by GitHub
parent 36339993bc
commit 09f1de12e8
18 changed files with 1094 additions and 144 deletions
+13
View File
@@ -18,6 +18,9 @@ type PeerSync struct {
// UpdateAccountPeers indicate updating account peers,
// which occurs when the peer's metadata is updated
UpdateAccountPeers bool
// Settings are the account settings the caller already read for this request.
// When nil they are loaded from the store.
Settings *Settings
}
// PeerLogin used as a data object between the gRPC API and Manager on Login request.
@@ -37,4 +40,14 @@ type PeerLogin struct {
// ExtraDNSLabels is a list of extra DNS labels that the peer wants to use
ExtraDNSLabels []string
// Settings are the account settings the caller already read for this request.
// When nil they are loaded from the store.
Settings *Settings
}
// PeerSession identifies the sync session a peer is currently owned by.
type PeerSession struct {
AccountID string
PeerID string
SessionStartedAt int64
}