Skip to content

Add a default timeout to all BeaconNodeHttpClient requests #7400

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
May 8, 2025

Conversation

jimmygchen
Copy link
Member

Issue Addressed

Add a default request timeout to all BeaconNodeHttpClient requests to ensure that no HTTP request can hang indefinitely.

@jimmygchen jimmygchen added val-client Relates to the validator client binary ready-for-review The code is ready for review labels May 6, 2025
@jimmygchen jimmygchen force-pushed the add-bn-http-client-timeout branch from a6455d7 to 16553c9 Compare May 6, 2025 01:32
@jimmygchen jimmygchen changed the base branch from unstable to release-v7.0.0 May 6, 2025 01:32
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Code change looks good to me

@michaelsproul michaelsproul added v7.0.2 Patch release for shortly after Pectra on mainnet and removed v7.0.2 Patch release for shortly after Pectra on mainnet labels May 6, 2025
@michaelsproul
Copy link
Member

Dropping this from v7.0.2 as it doesn't fix the freezes. Happy for it to be re-targeted at unstable.

@michaelsproul michaelsproul added waiting-on-author The reviewer has suggested changes and awaits thier implementation. v7.1.0 Post-Electra release and removed ready-for-review The code is ready for review labels May 8, 2025
@jimmygchen jimmygchen changed the base branch from release-v7.0.0 to unstable May 8, 2025 01:23
@jimmygchen jimmygchen force-pushed the add-bn-http-client-timeout branch from 16553c9 to 4483a7f Compare May 8, 2025 01:23
@jimmygchen jimmygchen added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels May 8, 2025
@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels May 8, 2025
@mergify mergify bot merged commit 8dc3d23 into sigp:unstable May 8, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. v7.1.0 Post-Electra release val-client Relates to the validator client binary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants