Kaynağa Gözat

煜一人群报表数据拉取接口,线程上调

zhaoxian 4 yıl önce
ebeveyn
işleme
9554c760c1

+ 1 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/TestController.java

@@ -1475,7 +1475,7 @@ public class TestController {
     private IKuaiShouGroupService kuaiShouGroupService;
     @Autowired
     private IKuaishouStrategyService kuaishouStrategyService;
-
+    static ExecutorService executorServic1e = Executors.newFixedThreadPool(5);
     /**
      * 勿动勿删,煜一人群报表数据拉取接口。
      *
@@ -1502,7 +1502,6 @@ public class TestController {
         } else {
             dayList = DateUtils.getDays(startTime, endTime);
         }
-        ExecutorService executorServic1e = Executors.newFixedThreadPool(8);
         int page = 1;
         int pageSize = 2000;
         dayList.forEach(date -> executorServic1e.submit(() -> {