From 0d30c93d000413c6eb34f489ef17688ad4175201 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 29 Apr 2024 18:18:21 +0800 Subject: [PATCH] 55测试环境 --- src/main/java/com/xcong/excoin/configurations/ScheduleConfig.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xcong/excoin/configurations/ScheduleConfig.java b/src/main/java/com/xcong/excoin/configurations/ScheduleConfig.java index aae878a..fc22982 100644 --- a/src/main/java/com/xcong/excoin/configurations/ScheduleConfig.java +++ b/src/main/java/com/xcong/excoin/configurations/ScheduleConfig.java @@ -6,7 +6,6 @@ import org.springframework.scheduling.annotation.SchedulingConfigurer; import org.springframework.scheduling.config.ScheduledTaskRegistrar; -import java.util.concurrent.Executor; import java.util.concurrent.Executors; @Configuration @@ -14,6 +13,6 @@ @Override public void configureTasks(ScheduledTaskRegistrar taskRegistrar) { - taskRegistrar.setScheduler(Executors.newScheduledThreadPool(5)); + taskRegistrar.setScheduler(Executors.newScheduledThreadPool(50)); } } -- Gitblit v1.9.1