Skip to content

fix(pubsub): drop poisoned in-flight requests after repeated reconnects#3879

Open
stevencartavia wants to merge 1 commit intoalloy-rs:mainfrom
stevencartavia:fix-reconnect-loop
Open

fix(pubsub): drop poisoned in-flight requests after repeated reconnects#3879
stevencartavia wants to merge 1 commit intoalloy-rs:mainfrom
stevencartavia:fix-reconnect-loop

Conversation

@stevencartavia
Copy link
Copy Markdown
Contributor

  • Track per-request reissue count across reconnects
  • Drop in-flight requests that exceed 3 reissues with a backend_gone error
  • Prevents infinite reconnect loop when a request's response kills the backend (e.g. oversized eth_getLogs exceeding max_frame_size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant