123
This commit is contained in:
@@ -24,7 +24,8 @@ public class ThreadPoolConfig {
|
||||
/**
|
||||
* 核心线程数 = cpu 核心数 + 1
|
||||
*/
|
||||
private final int core = Runtime.getRuntime().availableProcessors() + 1;
|
||||
// private final int core = Runtime.getRuntime().availableProcessors() + 1;
|
||||
private final int core = 6 + 1;
|
||||
|
||||
@Autowired
|
||||
private ThreadPoolProperties threadPoolProperties;
|
||||
|
||||
Reference in New Issue
Block a user