红中麻将线程调大,暂时避免经常重启

master
zhouwei 2026-03-04 18:54:09 +08:00
parent 025362469b
commit d7f8ae74ce
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ public class ThreadPoolConfig {
//线程池配置
private static final ExecutorService BUSINESS_THREAD_POOL =
new ThreadPoolExecutor(
5, //核心线程数
20, //最大线程数
50, //核心线程数
200, //最大线程数
60, //空闲线程存活时间
TimeUnit.SECONDS,
new LinkedBlockingQueue<>(5000),