Closed leachbj closed 9 years ago
I believe the issue with this approach is that with a indefinitely lived thread, the JVM won't shutdown unless you can ensure executor.shutdown() has been called.
Guava provides some wrappers to try and enforce this using shutdown hooks
Alternate solution in 79dfe2cfeedf70f719731d13c6bf3d9eb6cbec80
This setting is causing the Threads to be shutdown after every task however since there are always jobs to run we can just leave the thread alive. At worst this leaves 1 idle thread.
Fixes #7