Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
YuNan 2024-10-24 18:54:32 +08:00
commit 97e16394c5
1 changed files with 3 additions and 3 deletions

View File

@ -23,11 +23,11 @@ public class ThreadPoolManager {
synchronized (ThreadPoolManager.class) {
if (executor == null) {
executor = new ThreadPoolExecutor(
10,
20,
4,
6,
60L,
TimeUnit.SECONDS,
new LinkedBlockingQueue<>(100),
new LinkedBlockingQueue<>(50),
Executors.defaultThreadFactory(),
new ThreadPoolExecutor.AbortPolicy()
);