mirror of https://github.com/apache/jclouds.git
adjusted default executor to start at one thread
This commit is contained in:
parent
c8cd0b0f2e
commit
103098d354
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue