-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix: prevent messages from taking too long to be sent #902
base: develop
Are you sure you want to change the base?
Conversation
…x/prevent-msg-taking-too-long
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.
Nice improvement by concurrently sending messages!
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 except the tracing comment.
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.
Looks good
…x/prevent-msg-taking-too-long
…x/prevent-msg-taking-too-long
messages will occasionally take over 1s to send, which can stall the node from doing work. This PR makes all the
send_encrypted
be ran concurrently such that the node don't wait until the previoussend_encrypted
gets completed. I've seen the message sending portion go from 1-2s max to 300ms max so this should be a good improvement with no breaking changes