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 shutdown hook for WebSphere and checkError() to detect disconnected client #530

Merged
merged 1 commit into from
Jan 20, 2015

Conversation

jboyd01
Copy link
Contributor

@jboyd01 jboyd01 commented Jan 20, 2015

fixes #346

WebSphere won't shutdown a servlet until after a 60 second timeout if there is an instance of the servlet executing a request. Add a shutdown method to enable a hook to notify Hystrix to shutdown. You must invoke this method at app server shutdown, perhaps from another servlet's destroy() method.

Also added explicit checkError() in poller loop to detect disconnected client.

…ed client (issue Netflix#346)

WebSphere won't shutdown a servlet until after a 60 second timeout if
there is an  instance of the servlet executing a request.  Add a
shutdown method to enable a hook to notify Hystrix to shutdown.  You
must invoke this method at app server shutdown, perhaps from another
servlet's destroy() method.

Also added explicit checkError() in poller loop to check for
disconnected client.
@cloudbees-pull-request-builder

Hystrix-pull-requests #234 SUCCESS
This pull request looks good

@mattrjacobs
Copy link
Contributor

Thanks @jboyd!

mattrjacobs added a commit that referenced this pull request Jan 20, 2015
Add shutdown hook for WebSphere and checkError() to detect disconnected client
@mattrjacobs mattrjacobs merged commit 85e058c into Netflix:master Jan 20, 2015
@dsukner
Copy link

dsukner commented Feb 5, 2015

This fix does not seem to have fixed the WebSphere issue.

"Also added explicit checkError() in poller loop to check for
disconnected client."

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.

HystrixMetricsStreamServlet.destroy() not invoked until container timeout
4 participants