Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Added timeouts for channels #29

Merged
merged 2 commits into from
Feb 10, 2020
Merged

Added timeouts for channels #29

merged 2 commits into from
Feb 10, 2020

Conversation

JoaoAndreSa
Copy link
Contributor

closes #25

@JoaoAndreSa JoaoAndreSa added this to Backlog in MedCo via automation Feb 5, 2020
@mickmis mickmis moved this from Backlog to To Do v0.3.0 in MedCo Feb 6, 2020
@mickmis mickmis linked an issue Feb 7, 2020 that may be closed by this pull request
@@ -48,6 +50,7 @@ type Service struct {
// NewService constructor which registers the needed messages.
func NewService(c *onet.Context) (onet.Service, error) {
newUnLynxInstance := &Service{
Timeout: 20 * time.Minute,
Copy link
Contributor

Choose a reason for hiding this comment

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

This timeout should be configurable. E.g. using the cli library, that way we will be able to pass this through the env for the docker image.

@mickmis mickmis merged commit a6dfdc4 into dev Feb 10, 2020
MedCo automation moved this from To Do v0.3.0 to Done Feb 10, 2020
@mickmis mickmis deleted the timeouts branch February 10, 2020 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
MedCo
  
Done
Development

Successfully merging this pull request may close these issues.

Allow for timeouts when expecting values from channels
2 participants