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 timeout option for healtcheck Handler #14

Merged
merged 1 commit into from Nov 4, 2017

Conversation

pcasaretto
Copy link
Contributor

Fixes #5
If we decide to export the private timeoutChecker introduced here, It could also solve checker specific timeouts. All one has to do is to wrap an existing timer with a timeout checker.

Changes the Checker interface to take in a context.Context that
signals cancelation
Copy link
Contributor

@karthikmuralidharan karthikmuralidharan left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@karthikmuralidharan karthikmuralidharan merged commit 3acc7a1 into etherlabsio:master Nov 4, 2017
@pcasaretto pcasaretto deleted the timeout branch November 4, 2017 16:17
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

2 participants