瀏覽代碼

降低线程数

yumeng 3 年之前
父節點
當前提交
2c6a283d9d

+ 1 - 1
jeecg-boot-module-system/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(5);
+    static ExecutorService executorService = Executors.newFixedThreadPool(3);
     static ExecutorService kuaishouCustomCreativeSupplementExecutorService = Executors.newFixedThreadPool(3);
     static ExecutorService kuaishouProgramCreativeAutoService = Executors.newFixedThreadPool(2);
     static ExecutorService kuaishouProgramTopCreativeAutoService = Executors.newFixedThreadPool(3);