|
|
@@ -17,14 +17,14 @@ public final class ThreadPoolFactory {
|
|
|
0L, TimeUnit.SECONDS,
|
|
|
new LinkedBlockingQueue<>(1000),
|
|
|
new ThreadFactoryBuilder().setNameFormat("DEFAULT-%d").build(),
|
|
|
- new ThreadPoolExecutor.CallerRunsPolicy());
|
|
|
+ new ThreadPoolExecutor.AbortPolicy());
|
|
|
private final static ExecutorService MULTI_GET_FEATURE = new CommonThreadPoolExecutor(
|
|
|
256,
|
|
|
256,
|
|
|
0L, TimeUnit.SECONDS,
|
|
|
new LinkedBlockingQueue<>(1000),
|
|
|
new ThreadFactoryBuilder().setNameFormat("MultiGetFeaturePool-%d").build(),
|
|
|
- new ThreadPoolExecutor.CallerRunsPolicy());
|
|
|
+ new ThreadPoolExecutor.AbortPolicy());
|
|
|
|
|
|
public static ExecutorService defaultPool() {
|
|
|
return DEFAULT;
|