Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
(" Set the default BroadcasterConfig ExecutorService size to 1 ")

See issue description
  • Loading branch information
jfarcand committed Oct 4, 2010
1 parent 1b9ac37 commit 8c78a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -568,9 +568,7 @@ protected void configureBroadcaster() throws ClassNotFoundException, Instantiati
Thread.currentThread().getContextClassLoader().loadClass(broadcasterCacheClassName).newInstance());
}

logger.info("Using " + broadcasterClassName
+ " with a Thread Pool size of : "
+ BroadcasterConfig.numOfProcessor);
logger.info("Using " + broadcasterClassName);
}

/**
Expand Down
Expand Up @@ -81,7 +81,7 @@ public BroadcasterConfig(ExecutorService executorService, ScheduledExecutorServi
}

protected void configExecutors() {
executorService = Executors.newCachedThreadPool(new ThreadFactory(){
executorService = Executors.newSingleThreadExecutor(new ThreadFactory(){

private AtomicInteger count = new AtomicInteger();

Expand Down

0 comments on commit 8c78a93

Please sign in to comment.