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

[Consensus] Convert the async non-leaf functions to synchronous functions #1399

Closed
dmitri-perelman opened this issue Oct 18, 2019 · 2 comments
Labels
consensus Issues related to consensus techdebt

Comments

@dmitri-perelman
Copy link
Contributor

We used to run Consensus event processing in multiple tasks, however, today the event processing is done by a single task in a single event loop.

We're still left with a number of asynchronous functions that that main event loop is just awaiting for. This is not convenient for debugging, because the stacktraces are not depicted properly. What we want to do instead is to have "real async" functions (the leaves) be asynchronous, while the rest of the functions to just block_on on the result.

@rofrol
Copy link

rofrol commented Jan 18, 2020

@zekun000
Copy link
Contributor

zekun000 commented Jul 1, 2020

not planned any more

@zekun000 zekun000 closed this as completed Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus Issues related to consensus techdebt
Projects
None yet
Development

No branches or pull requests

4 participants