红中麻将线程调大,暂时避免经常重启
parent
025362469b
commit
d7f8ae74ce
|
|
@ -15,8 +15,8 @@ public class ThreadPoolConfig {
|
||||||
//线程池配置
|
//线程池配置
|
||||||
private static final ExecutorService BUSINESS_THREAD_POOL =
|
private static final ExecutorService BUSINESS_THREAD_POOL =
|
||||||
new ThreadPoolExecutor(
|
new ThreadPoolExecutor(
|
||||||
5, //核心线程数
|
50, //核心线程数
|
||||||
20, //最大线程数
|
200, //最大线程数
|
||||||
60, //空闲线程存活时间
|
60, //空闲线程存活时间
|
||||||
TimeUnit.SECONDS,
|
TimeUnit.SECONDS,
|
||||||
new LinkedBlockingQueue<>(5000),
|
new LinkedBlockingQueue<>(5000),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue