Fixing Dispatcher config bug #422

This commit is contained in:
Viktor Klang 2010-09-04 12:00:12 +02:00
parent 33319bc99e
commit b752c9fd3c
5 changed files with 45 additions and 26 deletions

View file

@ -56,7 +56,6 @@ trait ThreadPoolBuilder extends Logging {
def withNewThreadPoolWithCustomBlockingQueue(queue: BlockingQueue[Runnable]): ThreadPoolBuilder = synchronized {
ensureNotActive
verifyNotInConstructionPhase
inProcessOfBuilding = false
blockingQueue = queue
threadPoolBuilder = new ThreadPoolExecutor(NR_START_THREADS, NR_MAX_THREADS, KEEP_ALIVE_TIME, MILLISECONDS, queue)
this