|
|
@@ -42,8 +42,8 @@ import static com.tzld.videoVector.common.constant.VectorConstants.DEFAULT_CONFI
|
|
|
public class VideoSearchServiceImpl implements VideoSearchService {
|
|
|
|
|
|
private static final ExecutorService MATCH_EXECUTOR = new ThreadPoolExecutor(
|
|
|
- 16, 16, 60L, TimeUnit.SECONDS,
|
|
|
- new LinkedBlockingQueue<>(32),
|
|
|
+ 32, 64, 60L, TimeUnit.SECONDS,
|
|
|
+ new LinkedBlockingQueue<>(512),
|
|
|
new ThreadPoolExecutor.CallerRunsPolicy());
|
|
|
|
|
|
|