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 option to set timeout on selfdiagnose #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add option to set timeout on selfdiagnose #20

wants to merge 5 commits into from

Conversation

lwiddershoven
Copy link

The resource and servlet now support an optional timeoutMS parameter, which, if set, limits the total time of all checks together to the given timeout. If the timeout is exceeded a result containing a single error check is generated.

Leon Widdershoven added 5 commits January 11, 2017 11:11
…thin which it will respond, although with a failure if the run could not complete due to timeout.
…econds) within which it will respond, although with a failure if the run could not complete due to timeout.
@emicklei
Copy link
Owner

thank you for contributing, we will review the code

@phildebrand
Copy link
Contributor

Are you the queen?

@mzeijen
Copy link
Collaborator

mzeijen commented Feb 10, 2017

The pull requests looks good to me, except that the merge conflicts should be resolved.

It would be good though if it would also be possible to configure a default timeout value (via java api and selfdiagnose.xml) where you can configure a default timeout. That way you can configure that there is always a timeout, even when none is given in the url.

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.

4 participants