Skip to content
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

rpc: add timeout to Client.Unsubscribe #30318

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

lightclient
Copy link
Member

fixes #30156

This adds a repro of the linked issue. I fixed it by adding a timeout when issuing the call to unsubscribe.

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

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

LGTM

rpc/client_test.go Outdated Show resolved Hide resolved
@fjl fjl changed the title rpc: add timeout to rpc client Unsubscribe rpc: add timeout to Client.Unsubscribe Aug 20, 2024
@fjl fjl merged commit 15fb0dc into ethereum:master Aug 20, 2024
2 of 3 checks passed
@fjl fjl added this to the 1.14.9 milestone Aug 20, 2024
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.

rpc.ClientSubscription.Unsubscribe() never returns
4 participants