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

Apply execution engine timeouts #5337

Merged
merged 1 commit into from
Apr 13, 2022
Merged

Conversation

ajsutton
Copy link
Contributor

PR Description

Apply timeouts to execution engine requests as per the latest spec.

Web3j doesn't allow setting the actual http timeout separate for different request types and web sockets and IPC don't have any concept of request timeouts at all. So we handle the timeout via the future and set the HTTP read timeout to the longest timeout we need to ensure it doesn't abort the connection before the timeout is reached.

Fixed Issue(s)

fixes #5302

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Apply timeouts to execution engine requests as per the latest spec.
Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

@ajsutton ajsutton merged commit 8cdb5ef into Consensys:master Apr 13, 2022
@ajsutton ajsutton deleted the ee-timeouts branch April 13, 2022 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Merge] Update execution engine Api timeouts
2 participants