Open dani-e-l opened 5 years ago
Ah, yep another instance of this. Just like #757 .
I think same sort of solution noted there could work here as well.
Thanks for quick reply Kevin. I was able to close many other threads because API allows me to use my own Timers/Executors/etc I have problem with last three threads.
In this case HighResTimer param is injected implicitly when client is instantiated. It is definitely to early. In such implementation StackParam[HighResTimer] makes no sense
Hello we are using Finagle as a HttpClient - it works really good. Great job.
Unfortunately Finagle generates resource leak under standard behavior that applications are deployed and undeployed many times on JBoss AS, Tomcat etc. By resource leak I mean that if I 100 times deploy and undeploy an application that uses Finagle I'll get at least 100 threads
The problem is that finagle contains unstopable threads
Problem is withh HighResTimer Thread There is no possibility to stop it using Finagle API.
Unfortunately we can't use our own HighResTimer using params because Default is initialized when Http.client is created and there are two instances
There are two alternative solutions