-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peer: deprioritize gossip traffic #2690
peer: deprioritize gossip traffic #2690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only other case within the gossiper where we send messages to peers is in the reliable sender, but I think those can remain as is as there shouldn't be that many per peer.
8e1aac4
to
935ea7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🕸
Indeed, i think we want these to be prioritized also so that we can remove them from the message store as quickly as possible |
Agreed that we'd want the direct chan ann/sig/update messages to be sent in prio mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💥
Did a connect+openchannel test right after a restart on one of my testnet nodes and also a connect+openchannel with a fresh channel graph. Not a precise measures, but both tests were noticeably snappier (returned from the command line sooner) with this patch.
Should fix #2686