From cc0bdfb33ef638dfafe3185c92c7076d815e1c9b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 18 五月 2024 21:42:19 +0800
Subject: [PATCH] 代码优化

---
 smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java
index 2d1772e..4688d35 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java
@@ -12,7 +12,7 @@
 import java.util.concurrent.TimeUnit;
 import org.springframework.scheduling.concurrent.CustomizableThreadFactory;
 
-/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/report/utils/ThreadPoolUtil.class */
+
 public class ThreadPoolUtil {
     private static final int CORE_POOL_SIZE = 10;
     private static final int MAX_POOL_SIZE = 20;
@@ -25,7 +25,7 @@
 
     public static ThreadPoolExecutor getThreadPool() {
         if (Objects.isNull(executor)) {
-            executor = new ThreadPoolExecutor(CORE_POOL_SIZE, MAX_POOL_SIZE, KEEP_ALIVE_TIME, TimeUnit.SECONDS, new ArrayBlockingQueue(QUEUE_CAPACITY), new CustomizableThreadFactory("p-thread-exec-"), new ThreadPoolExecutor.CallerRunsPolicy());
+            executor = new ThreadPoolExecutor(CORE_POOL_SIZE, MAX_POOL_SIZE, KEEP_ALIVE_TIME, TimeUnit.SECONDS, new ArrayBlockingQueue<>(QUEUE_CAPACITY), new CustomizableThreadFactory("p-thread-exec-"), new ThreadPoolExecutor.CallerRunsPolicy());
             return executor;
         }
         return executor;

--
Gitblit v1.9.3