Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

trace_api_plugin yield timeout - 2.0 #8826

Merged
merged 2 commits into from
Mar 18, 2020
Merged

trace_api_plugin yield timeout - 2.0 #8826

merged 2 commits into from
Mar 18, 2020

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Mar 17, 2020

Change Description

  • trace_api_plugin now honors http-max-response-time-ms as a specification of retrieval and ABI processing time. http-max-response-time-ms is also the time allowed for http_plugin conversion to JSON. Maximum time allowed for trace_api_plugin get_block now has approximately 2x http-max-response-time-ms. It is very likely that http-max-response-time-ms will need to be increased from the default.
  • Modified http_plugin logging to not error log on timeout_exception.
  • Future work: add yield capability to http_plugin url_handler so http-max-response-ms can be used as a specification of complete time allowed for api calls e.g. get_table_rows allowing the removal of hard-coded 10ms limit.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

heifner added 2 commits March 16, 2020 16:50
…ug log for all fc::exceptions. Provide access to max-response-time-ms setting.
@heifner heifner requested a review from b1bart March 17, 2020 00:18
@heifner heifner merged commit 302f17d into release/2.0.x Mar 18, 2020
@heifner heifner deleted the timeout-2.0 branch March 18, 2020 19:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants