ARTEMIS-439 Set default global thread pool based on cores
This commit is contained in:
parent
45d1194009
commit
e9992bc59f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue