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 a ConnectCtx function to initiate a connection using a context #105

Merged

Conversation

Jmgr
Copy link
Contributor

@Jmgr Jmgr commented Jan 11, 2021

This adds a new ConnectCtx function that allows connecting using a context, so that the connection can be cancelled using a deadline other than the default gRPC one. The connection is only blocking if a context with a deadline has been provided.

This PR fixes #98.

@tylertreat tylertreat merged commit 3f7127a into liftbridge-io:master Jan 12, 2021
@lmars lmars deleted the feature/connect-with-context branch October 22, 2022 10:15
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.

Add a connection timeout
2 participants