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

revert optimistic reserved node reconnect #995

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

leviathanbeak
Copy link
Contributor

During #974 optimistic reconnect was removed from the code as being a duplicate work.

It was not a duplicate work, more of an optimistic immediate reconnect if the node is available, while health_check tries to reconnect after a certain Interval (e.g. 30-60 seconds) which is there as a backup only if the optimistic reconnect was not successful.

I also added a small description comment to OutboundState.

@leviathanbeak leviathanbeak requested a review from a team February 7, 2023 18:43
@leviathanbeak leviathanbeak self-assigned this Feb 7, 2023
@leviathanbeak leviathanbeak added tech-debt The issue is to improve the current code and make it more clear/generic/reusable/pretty/avoidable. fuel-p2p labels Feb 7, 2023
@leviathanbeak leviathanbeak merged commit e251409 into master Feb 7, 2023
@leviathanbeak leviathanbeak deleted the leviathanbeak/few_p2p_refactors branch February 7, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuel-p2p tech-debt The issue is to improve the current code and make it more clear/generic/reusable/pretty/avoidable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants