|
@@ -75,18 +75,18 @@ public class MatchVideoServiceImpl {
|
|
|
|
|
|
|
|
|
// 定义一个阻塞队列
|
|
|
- private static final ArrayBlockingQueue<MatchVideo> matchKimiVideoQueue = new ArrayBlockingQueue<>(100000);
|
|
|
+ private static final ArrayBlockingQueue<MatchVideo> matchKimiVideoQueue = new ArrayBlockingQueue<>(1000000);
|
|
|
// 定义一个线程池,设置消费线程的数量
|
|
|
private static final ThreadPoolExecutor matchKimiVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5);
|
|
|
|
|
|
|
|
|
// 定义一个阻塞队列
|
|
|
- private static final ArrayBlockingQueue<MatchVideo> matchCrawlerVideoQueue = new ArrayBlockingQueue<>(100000);
|
|
|
+ private static final ArrayBlockingQueue<MatchVideo> matchCrawlerVideoQueue = new ArrayBlockingQueue<>(1000000);
|
|
|
// 定义一个线程池,设置消费线程的数量
|
|
|
private static final ThreadPoolExecutor matchCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
|
|
|
|
|
|
// 定义一个阻塞队列
|
|
|
- private static final ArrayBlockingQueue<MatchVideo> uploadCrawlerVideoQueue = new ArrayBlockingQueue<>(100000);
|
|
|
+ private static final ArrayBlockingQueue<MatchVideo> uploadCrawlerVideoQueue = new ArrayBlockingQueue<>(1000000);
|
|
|
// 定义一个线程池,设置消费线程的数量
|
|
|
private static final ThreadPoolExecutor uploadCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
|
|
|
|