浏览代码

减少线程数

yumeng 5 年之前
父节点
当前提交
0dc073f4a1

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/job/KuaishouAppListJob.java

@@ -24,7 +24,7 @@ public class KuaishouAppListJob implements Job {
     @Autowired
     private CtopOauthTokenMapper oauthTokenMapper;
 
-    static ExecutorService executorService = Executors.newFixedThreadPool(3);
+    static ExecutorService executorService = Executors.newFixedThreadPool(2);
 
     @Override
     public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {