On Jan 27, 2007, at 7:02 PM, Trustin Lee wrote:
For now, whenever default constructor of ExecutorFilter is called, newinstance of Executor is created. This often confuses beginners because they see inifinitely increasing number of threads. I admit that I made a mistakedue to my lack of knowledge on java.util.concurrent package. (What alazy...! :) Using Executors.newCachedThreadPool() could fix this problemvery easily.I'd like to apply this change to both 1.x and 2.x branch because it willreduce users' misinterpretation significaly. WDYT?
You mean replacing:new ThreadPoolExecutor(16, 16, 60, TimeUnit.SECONDS, new LinkedBlockingQueue() )
?(if so, that's roughly equivalent with what newCachedThreadPool does, just different numbers, which makes me wonder why :)
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
