ARTEMIS-439 Set default global thread pool based on cores

This commit is contained in:
Martyn Taylor 2016-03-15 15:20:21 +00:00
parent 45d1194009
commit e9992bc59f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public final class ActiveMQClient {
public static final int DEFAULT_THREAD_POOL_MAX_SIZE = -1;
public static final int DEFAULT_GLOBAL_THREAD_POOL_MAX_SIZE = 500;
public static final int DEFAULT_GLOBAL_THREAD_POOL_MAX_SIZE = 8 * Runtime.getRuntime().availableProcessors();
public static final int DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE = 5;