Skip to content

Remove idle tcp connections #155

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

avalonche
Copy link
Collaborator

Resolves #126 for the proxy client. However there isn't an explicit way to configure the timeout on the json rpc see client library.

Copy link

vercel bot commented Mar 28, 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) Mar 28, 2025 9:44pm

let client = Client::builder(TokioExecutor::new()).build(connector);
let client = Client::builder(TokioExecutor::new())
.pool_timer(hyper_util::rt::TokioTimer::new())
.pool_idle_timeout(Duration::from_millis(2_500))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this a constant

@0xForerunner
Copy link
Collaborator

@avalonche have you been able to actually verify that this fixes the problem?

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.

bug: rollup-boost leaking TCP connections
3 participants