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

op-batcher: Do not retry dial attempts in active l2 providers #10696

Conversation

BrianBland
Copy link
Contributor

Description

Perform simple endpoint dialing in ActiveL2RollupProvider, as compared to the standard retrying dial flow. This allows dialing to fail quickly, and fall back to the next candidate endpoint, potentially repeating. With the default retry behavior, this will perform 30 attempts with 2 second delays in between attempts, frequently consuming all of the current context's deadline.

Tests

No tests added for this change.

Additional context

Add any other context about the problem you're solving.

Metadata

-Related to #10695

@BrianBland BrianBland requested a review from a team as a code owner May 31, 2024 00:29
@BrianBland BrianBland force-pushed the active-provider-no-dial-retries branch from df8ee62 to 47b8453 Compare May 31, 2024 00:56
@BrianBland BrianBland requested a review from a team as a code owner May 31, 2024 00:56
@sebastianst sebastianst requested review from sebastianst and protolambda and removed request for protolambda May 31, 2024 17:57
@BrianBland BrianBland force-pushed the active-provider-no-dial-retries branch from 47b8453 to 994f549 Compare May 31, 2024 17:58
Copy link
Member

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

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

Thanks for the improvement!

@sebastianst sebastianst added this pull request to the merge queue May 31, 2024
Merged via the queue into ethereum-optimism:develop with commit 61b2b36 May 31, 2024
62 checks passed
rdovgan pushed a commit to rdovgan/optimism that referenced this pull request Jun 24, 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.

3 participants