Skip to content
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

Use FutureUtil.foldLeftAsync() to process messages we parsed on the p… #1326

Conversation

Christewart
Copy link
Contributor

…2p network. This moves the blocking with Await.result() from inside of each message we process, to after the entire batch of messages is processed

I don't think this will have much performance improvement. It is a cleaner refactor, and a stepping stone to figuring out how to solve #672

…2p network. This moves the blocking with Await.result() from inside of each message we process, to after the entire batch of messages is processed
@Christewart Christewart added the node work for the node project label Apr 9, 2020
@Christewart Christewart requested a review from rorp April 9, 2020 13:03
Copy link
Collaborator

@nkohen nkohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@Christewart Christewart merged commit 831e89c into bitcoin-s:master Apr 20, 2020
Christewart added a commit that referenced this pull request May 1, 2021
…2p network. This moves the blocking with Await.result() from inside of each message we process, to after the entire batch of messages is processed (#1326)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node work for the node project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants