Fixes for OSGi, remove automatic creation of executor for async requests (WIP)#569
Conversation
|
@federicorispo I wonder if you have an opinion regarding the original PR fix of removing ThreadPoolExecutor completely. It looks like this might be a breaking change. It looks like that we no longer have a default async executor, and users will need to provide one if they want to handle async tasks. But because configuration and HttpInvoker is still created for every request, this to me still doesn't fix the original issue of being able to clean up thread pools. Instead of completely removing the default ThreadPoolExecutor, I wonder if you have ideas on how to properly clean them after execution. In the meantime will need to put this on hold until we get a good consensus of proper way to fix ThreadPools constantly being created on every http request |
|
@gflores-jahia I will look in the current flow of the request handling to see if there is a clean and solid way to better handle thread after the execution. A good refactor is certainly needed |

WORK IN PROGRESS
Creating new PR based off of #538 and branched off latest master code.