Merge pull request #4934 from cfromknecht/pinned-active-syncers

discovery: pinned syncers
This commit is contained in:
Conner Fromknecht authored and GitHub committed 2021-02-03 10:54:00 -08:00
commit 7f006832fb
15 files changed
+1157 -840

No files matched your search

+780 -775
View File
File diff suppressed because it is too large. Load diff
+5
View File
@@ -1487,6 +1487,11 @@ message Peer {
Denotes that we are not receiving new graph updates from the peer.
*/
PASSIVE_SYNC = 2;
/*
Denotes that this peer is pinned into an active sync.
*/
PINNED_SYNC = 3;
}
// The type of sync we are currently performing with this peer.
+3 -2
View File
@@ -2269,10 +2269,11 @@
"enum": [
"UNKNOWN_SYNC",
"ACTIVE_SYNC",
"PASSIVE_SYNC"
"PASSIVE_SYNC",
"PINNED_SYNC"
],
"default": "UNKNOWN_SYNC",
"description": " - UNKNOWN_SYNC: Denotes that we cannot determine the peer's current sync type.\n - ACTIVE_SYNC: Denotes that we are actively receiving new graph updates from the peer.\n - PASSIVE_SYNC: Denotes that we are not receiving new graph updates from the peer."
"description": " - UNKNOWN_SYNC: Denotes that we cannot determine the peer's current sync type.\n - ACTIVE_SYNC: Denotes that we are actively receiving new graph updates from the peer.\n - PASSIVE_SYNC: Denotes that we are not receiving new graph updates from the peer.\n - PINNED_SYNC: Denotes that this peer is pinned into an active sync."
},
"PendingChannelsResponseClosedChannel": {
"type": "object",