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

feat(builder): retry on incorrect host block error #61

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Oct 25, 2024

No description provided.

@Evalir Evalir requested a review from prestwich October 25, 2024 18:44
@Evalir Evalir enabled auto-merge (squash) October 25, 2024 18:45
break;
}
Ok(ControlFlow::Done) => {
tracing::info!("block landed successfully");
Copy link
Contributor

Choose a reason for hiding this comment

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

need to set retries to 0 in Skip and Done arms

Copy link
Member Author

Choose a reason for hiding this comment

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

pretty sure it gets reset on each iteration of the outer loop?

Copy link
Contributor

Choose a reason for hiding this comment

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

oh you're right. i don't like the nested loop tho. kinda ugly and implies we should break out a function

Copy link
Member Author

Choose a reason for hiding this comment

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

yep agreed, we can break it out in another PR

@Evalir Evalir merged commit 8eb4227 into main Oct 25, 2024
4 checks passed
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