adjusted default executor to start at one thread

This commit is contained in:
Adrian Cole 2010-05-24 00:12:30 -07:00
parent c8cd0b0f2e
commit 103098d354
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class ExecutorServiceModule extends AbstractModule {
@VisibleForTesting @VisibleForTesting
static ExecutorService newScalingThreadPoolNamed(String name, int maxCount) { static ExecutorService newScalingThreadPoolNamed(String name, int maxCount) {
return newScalingThreadPool(0, maxCount, 60L * 1000, new NamingThreadFactory(name)); return newScalingThreadPool(1, maxCount, 60L * 1000, new NamingThreadFactory(name));
} }
} }