Skip to content

fix: stop a hung RPC endpoint holding up reads - #738

Merged
MoonBoi9001 merged 1 commit into
mb9/alert-and-stop-double-paying-on-failed-cancelsfrom
mb9/stop-a-hung-rpc-endpoint-stalling-reads
Oct 9, 2026
Merged

MoonBoi9001 merged 1 commit into
mb9/alert-and-stop-double-paying-on-failed-cancelsfrom
mb9/stop-a-hung-rpc-endpoint-stalling-reads

Conversation

@MoonBoi9001

Copy link
Copy Markdown
Member

Until 2 RPC endpoints agree on the chain's newest block, every read first asks each endpoint for it, so 1 endpoint that never answered held a read for the full request timeout once a minute. This gives each of those asks a 3 second limit, after which the check carries on with the endpoints that did answer.

Until 2 endpoints agree on the chain's newest block, a read first asks every endpoint for it.
1 endpoint that never answered held that read for the full request timeout, once a minute.
Each ask now gives up after 3 seconds and the check goes on with the answers it has.
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review October 9, 2026 15:56
@MoonBoi9001
MoonBoi9001 added this pull request to stack #741 October 9, 2026 17:57
@MoonBoi9001
MoonBoi9001 removed this pull request from stack #741 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 added this pull request to stack #742 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 removed this pull request from stack #742 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 added this pull request to stack #743 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 merged commit 4379086 into mb9/review Oct 9, 2026
12 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