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

Implement timeout handling at sendJsonRpc level #505

Merged
merged 2 commits into from
Feb 24, 2021
Merged

Conversation

This change basically moves existing exponential retry logic from Account deeper.

Also handling `query has timed out` popping up on some endpoints under load.
} catch (error) {
// TODO: Somehow getting still:
// Error: send_tx_commit has timed out.
// TODO: Check if nearcore still sends this or some other messages for timeout
Copy link
Collaborator

Choose a reason for hiding this comment

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

@vgrichina have you checked this? probably it should be done before the merge

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed these TODOs as no longer relevant, TimeoutError thrown by us deeper in the call stack

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.

2 participants