Explorar el Código

增加线程数

yumeng hace 4 años
padre
commit
f20c7a23dc

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

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