소스 검색

自动上新增加线程数

yumeng 4 년 전
부모
커밋
a6a5ffebb3

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/controller/AiKuaishouCreateCreativeController.java

@@ -25,7 +25,7 @@ public class AiKuaishouCreateCreativeController {
     private IAiKuaishouCreateCreativeService createCreativeService;
     @Autowired
     private IAiKuaishouAdvertiserStrategyService strategyService;
-    static ExecutorService executorService = Executors.newFixedThreadPool(3);
+    static ExecutorService executorService = Executors.newFixedThreadPool(5);
     static ExecutorService kuaishouCustomCreativeSupplementExecutorService = Executors.newFixedThreadPool(3);
     static ExecutorService kuaishouProgramCreativeAutoService = Executors.newFixedThreadPool(3);
     static ExecutorService kuaishouProgramTopCreativeAutoService = Executors.newFixedThreadPool(3);