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

Remove Balances Timeout #9957

Merged
merged 3 commits into from
Dec 1, 2021
Merged

Remove Balances Timeout #9957

merged 3 commits into from
Dec 1, 2021

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Dec 1, 2021

What type of PR is this?

Cleanup

What does this PR do? Why is it needed?

Currently our validator balances rpc method is the only one which applies this timeout. The initial rationale given was to prevent expensive rpc requests from taking up all the node's resources. However given that this is the only method which has a timeout, the special casing doesn't make sense. It is an accepted fact by users that if they do indeed perform historical queries on the default parameters, the requests will take a longer time to be executed. This PR chooses to remove the balance timeout
for this reason.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas added the Ready For Review A pull request ready for code review label Dec 1, 2021
@nisdas nisdas requested a review from a team as a code owner December 1, 2021 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants