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

RED-93: Set request retries dynamically #20

Closed
wants to merge 2 commits into from
Closed

RED-93: Set request retries dynamically #20

wants to merge 2 commits into from

Conversation

urnotsam
Copy link
Contributor

@urnotsam urnotsam commented May 2, 2024

https://linear.app/shm/issue/RED-93/dynamically-set-rpc-retry-config-to-be-rotationedgetoavoid-2

Summary: Set RPC request retries by fetching rotationEdgeToAvoid config from a node and doubling it. Repurposing old code that is meant to be removed in RED-52

Copy link

linear bot commented May 2, 2024

PudgyPug
PudgyPug previously approved these changes May 7, 2024
Copy link
Contributor

@mhanson-github mhanson-github left a comment

Choose a reason for hiding this comment

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

What does this mean if edge to avoid is set to 0 (as it is currently). We don't have retries? Is that a problem?

@urnotsam
Copy link
Contributor Author

What does this mean if edge to avoid is set to 0 (as it is currently). We don't have retries? Is that a problem?

You're right that this would be a problem. I have updated it so that we will only set the requestRetries if the edgesToAvoid * 2 is greater than the default request retry value

@urnotsam urnotsam requested a review from mhanson-github May 16, 2024 12:46
@afostr afostr closed this May 23, 2024
@mhanson-github mhanson-github deleted the RED-93 branch September 7, 2024 05:35
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