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 provider::connect() in l1 update loop #2531

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

Conversation

imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Feb 4, 2025

This PR adds a timeout to provider::connect() in the L1 update state loop to prevent hangs due to DNS resolution issues.

@imabdulbasit imabdulbasit marked this pull request as ready for review February 4, 2025 11:10
@imabdulbasit imabdulbasit force-pushed the ab/l1-connect-timeout branch from 92d060c to 028e7c2 Compare February 4, 2025 11:14
@imabdulbasit imabdulbasit changed the title Ab/l1 connect timeout add timeout to provider::connect() in l1 update loop Feb 4, 2025
@imabdulbasit imabdulbasit marked this pull request as draft February 4, 2025 11:17
@sveitser
Copy link
Collaborator

sveitser commented Feb 4, 2025

If this works to fix the test for you I think that's great. But please check the logs if it actually does since myself and the CI don't seem to hit this 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.

2 participants