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

[3.2] Make /v1/chain/get_accounts_by_authorizers multi-threaded #411

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

heifner
Copy link
Member

@heifner heifner commented Jun 17, 2022

/v1/chain/get_accounts_by_authorizers was designed to support multi-threaded calls. However, it was not hooked up to the http thread handling code, but instead was hooked up to the normal app thread handling.

Fixed http_plugin.hpp add_async_api to actually call add_async_handler.
Added a multi-threaded test to verify get_accounts_by_authorizers works from different thread.

Moved /v1/chain/get_transaction_status from add_async_api to add_api since it does not support multi-threaded reads.

Resolves #204

heifner added 2 commits June 16, 2022 19:29
Added a multi-thread test for the only api that is using the add_async_api.
@heifner heifner added the OCI OCI working this issue... label Jun 17, 2022
@ClaytonCalabrese ClaytonCalabrese self-requested a review June 21, 2022 20:03
@heifner heifner merged commit 43f290d into main Jun 22, 2022
@heifner heifner deleted the get_account_by_authorizers-threaded branch June 22, 2022 00:56
@arhag arhag changed the title Make /v1/chain/get_accounts_by_authorizers multi-threaded [3.2] Make /v1/chain/get_accounts_by_authorizers multi-threaded Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI OCI working this issue...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_accounts_by_authorizers multi-threaded support
2 participants