Skip to content

feat: add client ping/pong health checks #366

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

danyalprout
Copy link
Contributor

Description

Add the option to periodically ping clients and disconnect any that don't respond with a pong within a configurable time period.

Most clients would be disconnected before this, due to lagging by not receiving Flashblocks. However this adds a second line of defense if there's ever a Flashblocks outage.

Copy link

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rollup-boost ⬜️ Ignored (Inspect) Visit Preview Jul 1, 2025 9:38pm

@danyalprout danyalprout marked this pull request as ready for review July 1, 2025 22:17
@SozinM
Copy link
Collaborator

SozinM commented Jul 2, 2025

Is this supersedes #355?

@danyalprout
Copy link
Contributor Author

No, they're healthchecking different connections. #355 does websocket-proxy -> rollup-boost/builder, this PR does websocket-proxy -> client(s)

@avalonche avalonche merged commit eae7365 into flashbots:main Jul 16, 2025
8 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.

3 participants