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

Add timeout to async_connect operation #516

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

amichon-kalray
Copy link
Contributor

If the network goes down during a async_connect, we may end up being stuck forever in this function since there is no timeout to cancel it.

If the network goes down during a async_connect, we may end up being
stuck forever in this function since there is no timeout to cancel it.

Signed-off-by: Alex Michon <[email protected]>
greensky00
greensky00 previously approved these changes Jun 18, 2024
Copy link
Contributor

@greensky00 greensky00 left a comment

Choose a reason for hiding this comment

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

Thanks, let me do some formatting and then merge.

@greensky00 greensky00 merged commit 8731295 into eBay:master Jun 18, 2024
1 check passed
szmyd added a commit to eBay/nuraft_mesg that referenced this pull request Jul 29, 2024
szmyd added a commit to eBay/nuraft_mesg that referenced this pull request Jul 29, 2024
* Update NuRaft to latest. Fixes include eBay/NuRaft#516
* Add missing case statements for error handling.
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.

2 participants