You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/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 app thread handling.
Most importantly is to test this change as testing before obviously would not have actually tested the multi-threaded code is actually safe from multi-threads.
get_accounts_by_authorizers is the only HTTP endpoint using add_async_api. The trace api calls use add_async_handler directly.
The text was updated successfully, but these errors were encountered:
/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 app thread handling.http_plugin.hpp
add_async_api
Change from:
To:
Most importantly is to test this change as testing before obviously would not have actually tested the multi-threaded code is actually safe from multi-threads.
get_accounts_by_authorizers
is the only HTTP endpoint usingadd_async_api
. The trace api calls useadd_async_handler
directly.The text was updated successfully, but these errors were encountered: