|
@@ -23,8 +23,7 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|
|
@Configuration
|
|
|
public class MyThreadPool extends ThreadPoolTaskExecutor {
|
|
|
private final static Logger log = LoggerFactory.getLogger(MyThreadPool.class);
|
|
|
-
|
|
|
- public MyThreadPool threadPoolTaskExecutor = null;
|
|
|
+ private MyThreadPool threadPoolTaskExecutor = null;
|
|
|
static final int cpuNum = Runtime.getRuntime().availableProcessors();
|
|
|
|
|
|
@Value("${sys.config.threadPoolCoreSize}")
|