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

refactor: forester: safetys check to minimise non-eligibility + other safety checks #1195

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

sergeytimoshin
Copy link
Contributor

Improve timeout handling in epoch manager to prevent overflow errors.
Introduce a checked multiplication for slot duration and update retry timeout accordingly.
Additionally, modify transaction handling to break early based on calculated slot latency.

Improve timeout handling in epoch manager to prevent overflow errors. Introduce a checked multiplication for slot duration and update retry timeout accordingly. Additionally, modify transaction handling to break early based on calculated slot latency.
}
};

if remaining_time < LATENCY {
Copy link
Contributor

Choose a reason for hiding this comment

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

we could also just make the timeout shorter

@ananas-block ananas-block merged commit 0911227 into main Sep 10, 2024
7 checks passed
@ananas-block ananas-block deleted the sergey/forester-tx-latency-checks branch September 10, 2024 14:13
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