yumeng 5 éve
szülő
commit
61c95df3fe

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

@@ -35,7 +35,7 @@ public class BytedancePlanRealTimeLoadJob implements Job {
             public void run() {
                 //1:查询当日数据
                 List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_BYTEDANCE);
-                executorService = Executors.newFixedThreadPool(8);
+                executorService = Executors.newFixedThreadPool(4);
                 String nowDate = DateUtils.date2Str();
                 tokens.forEach(token -> {
                     executorService.submit(new Runnable() {