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

rpc: don't try to run some rpcs if in ibd #229

Merged

Conversation

Davidson-Souza
Copy link
Collaborator

Some RPCs timeout if we try to make them while on IBD, and this gets the RPC server stuck forever. This commit forbids running them during IBD, and return an error.

@Davidson-Souza Davidson-Souza force-pushed the rpc/dont-die-on-invalid-rpc branch from 11a2059 to 169892f Compare September 4, 2024 17:26
Some RPCs timeout if we try to make them while on IBD, and this gets the
RPC server stuck forever. This commit forbids running them during IBD,
and return an error.
@Davidson-Souza Davidson-Souza force-pushed the rpc/dont-die-on-invalid-rpc branch from 169892f to e2f014b Compare September 4, 2024 17:57
@Davidson-Souza Davidson-Souza merged commit 5502074 into vinteumorg:master Sep 4, 2024
5 checks passed
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.

1 participant