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

Add timeout to remote ops #613

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Add timeout to remote ops #613

merged 1 commit into from
Jan 6, 2025

Conversation

cam-schultz
Copy link
Collaborator

Why this should be merged

#593 added an exponential backoff utility, useful for spacing out RPC requests and signature aggregation attempts. The exponential backoff utility as well as the backoff library require that the supplied operation will terminate. Some operations that use the utility consumed context.Background() and so would not do so.

How this works

Adds a timeout context to eth_subscribe and Warp API calls.

How this was tested

CI

How is this documented

Improves backoff utility documentation

cc @najeal

@cam-schultz cam-schultz merged commit 740eeb2 into main Jan 6, 2025
8 checks passed
@cam-schultz cam-schultz deleted the timeout-backoff-ops branch January 6, 2025 16:26
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.

4 participants