Browse Source

修改定时任务

syh 5 năm trước cách đây
mục cha
commit
23a4ee0e39

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

@@ -46,7 +46,7 @@ public class KuaishouHourlyReportLoadJob implements Job {
             log.info("定时获取头条数据异常:为获取到可用的token");
             return;
         }
-        executorService = Executors.newFixedThreadPool(10);
+        executorService = Executors.newFixedThreadPool(5);
         countDownLatch = new CountDownLatch(tokens.size());
         Date finalGetDate = getDate;
         tokens.forEach(token -> {