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

Use context.Context for configurable timeouts #12

Merged
merged 4 commits into from
May 17, 2017
Merged

Conversation

fortytw2
Copy link
Owner

@fortytw2 fortytw2 commented May 13, 2017

In which "I'll give it a shot later today" means "I'll give it a shot in 6 months"

Takes @lukechampine's recommendation from #11 (comment) (which this PR supersedes)

Adds CheckTimeout and CheckContext, might need more thorough testing, but everything seems good for now.

Closes #5

@fortytw2 fortytw2 self-assigned this May 13, 2017
@fortytw2 fortytw2 merged commit 7dad533 into master May 17, 2017
@fortytw2 fortytw2 deleted the context-cancellation branch May 17, 2017 13:08
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.

None yet

1 participant