From 895ba20f445645dd300e381d7d6faba344f9dfa4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 31 May 2021 18:05:58 +0800
Subject: [PATCH] 20210531
---
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 cc4addb..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(200));
+ taskRegistrar.setScheduler(Executors.newScheduledThreadPool(50));
}
}
--
Gitblit v1.9.1