Skip to content

Conversation

@gabrielmocan
Copy link

We need this because in case of timeout, channel will still be created and goroutine will be dangling around

We need this because in case of timeout, channel will still be created and goroutine will be dangling around
@gabrielmocan
Copy link
Author

@adubkov thoughts?

goroutine is only used to handle timeout, which is overkill. we can use native dialer timeout to deal with that as the select would block code anyways.
whule -> while
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.

1 participant