yumeng 5 anni fa
parent
commit
74fc21a7ef

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

@@ -31,7 +31,7 @@ public class BytedancePlanLoadJob implements Job {
     public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
         //1:查询当日数据
         List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_BYTEDANCE);
-        executorService = Executors.newFixedThreadPool(6);
+        executorService = Executors.newFixedThreadPool(4);
         tokens.forEach(token -> {
             executorService.submit(new Runnable() {
                 @Override