Skip to content

Comments

Use supplied context in NATS endpoint constructor#876

Merged
peterbourgon merged 1 commit intogo-kit:masterfrom
nsmith5:fix/nats-context
May 29, 2019
Merged

Use supplied context in NATS endpoint constructor#876
peterbourgon merged 1 commit intogo-kit:masterfrom
nsmith5:fix/nats-context

Conversation

@nsmith5
Copy link
Contributor

@nsmith5 nsmith5 commented May 28, 2019

Previous implementation used a new background context which prevented proper context cancellation.

Fixes #869.

@nsmith5
Copy link
Contributor Author

nsmith5 commented May 28, 2019

Build seems to be broken due to #877

@peterbourgon
Copy link
Member

Thanks! Can you rebase on master?

Previous implementation used a new background context
which prevented context cancellation.
@nsmith5
Copy link
Contributor Author

nsmith5 commented May 29, 2019

Yep, done

@peterbourgon peterbourgon merged commit 07d89a2 into go-kit:master May 29, 2019
@peterbourgon
Copy link
Member

Thank you!

@nsmith5
Copy link
Contributor Author

nsmith5 commented May 29, 2019

Not a problem! Thanks for the clear issue labels. It was very easy to contribute.

@nsmith5 nsmith5 deleted the fix/nats-context branch May 29, 2019 17:30
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.

NATS publisher context

2 participants