Forráskód Böngészése

Merge branch 'feature_20241121_zhaohaipeng_threadpool' of algorithm/ad-engine into master

zhaohaipeng 5 hónapja
szülő
commit
0ed9316b16

+ 2 - 2
ad-engine-commons/src/main/java/com/tzld/piaoquan/ad/engine/commons/thread/ThreadPoolFactory.java

@@ -14,8 +14,8 @@ public final class ThreadPoolFactory {
     private final static ExecutorService DEFAULT = new CommonThreadPoolExecutor(
             512,
             512,
-            60L, TimeUnit.SECONDS,
-            new LinkedBlockingQueue<>(1000),
+            0L, TimeUnit.SECONDS,
+            new LinkedBlockingQueue<>(2000),
             new ThreadFactoryBuilder().setNameFormat("DEFAULT-%d").build(),
             new ThreadPoolExecutor.AbortPolicy());
     private final static ExecutorService FEATURE = new CommonThreadPoolExecutor(