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

Allow for timeouts when expecting values from channels #30

Closed
cgrigis opened this issue Feb 10, 2020 · 0 comments
Closed

Allow for timeouts when expecting values from channels #30

cgrigis opened this issue Feb 10, 2020 · 0 comments
Assignees
Labels
Projects

Comments

@cgrigis
Copy link
Contributor

cgrigis commented Feb 10, 2020

In many places, the code waits for information on a channel, but does not allow for a timeout. As this information is provided by other nodes over the network, the information will never come in case of crashes, and the goroutine will be stuck forever.
Allowing for a timeout in a select statement will make the code more fault-tolerant.

@mickmis mickmis added this to Backlog in MedCo Feb 14, 2020
@mickmis mickmis moved this from Backlog to To Do v1.0.0 in MedCo Feb 14, 2020
@mickmis mickmis added the bug label Feb 14, 2020
@JoaoAndreSa JoaoAndreSa mentioned this issue Mar 10, 2020
@mickmis mickmis closed this as completed Mar 18, 2020
MedCo automation moved this from To Do v1.0.0 to Done Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
MedCo
  
Done
Development

No branches or pull requests

3 participants