Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Fixed the initialization of the request-trace-remover thread pool so … #117

Merged
merged 1 commit into from Nov 23, 2015

Conversation

ryanrupp
Copy link
Contributor

…that it only is instantiated when the servlet is initialized. This fixes an issue that a request-trace-remover thread would leak when redeploying the servlet if it's not actually in use e.g. if the stagemonitor widget is disabled. Due to the servlet never actually being deployed in that case, the servlet's destroy() method would never be called therefore resulting in a thread to leak each redeployment. Also moved registeration of the servlet as a request trace reporter until it's actually initialized.

…that it only is instantiated when the servlet is initialized. This fixes an issue that a request-trace-remover thread would leak when redeploying the servlet if it's not actually in use e.g. if the stagemonitor widget is disabled. Due to the servlet never actually being deployed in that case, the servlet's destroy() method would never be called therefore resulting in a thread to leak each redeployment. Also moved registeration of the servlet as a request trace reporter until it's actually initialized.
felixbarny added a commit that referenced this pull request Nov 23, 2015
Fixed the initialization of the request-trace-remover thread pool so …
@felixbarny felixbarny merged commit 5be5fdb into stagemonitor:master Nov 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants