xueyiming преди 3 месеца
родител
ревизия
2dec703e0d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/component/ThreadPools.java

+ 2 - 2
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/component/ThreadPools.java

@@ -12,8 +12,8 @@ public class ThreadPools {
     public static final ThreadPoolExecutor newMatchKimiVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5);
 
     // 定义一个线程池,设置消费线程的数量
-    public static final ThreadPoolExecutor newMatchCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
+    public static final ThreadPoolExecutor newMatchCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(20);
 
     // 定义一个线程池,设置消费线程的数量
-    public static final ThreadPoolExecutor newUploadCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
+    public static final ThreadPoolExecutor newUploadCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(20);
 }