From 258a769f6790f832d1c67839d59be04a118767e5 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 28 四月 2024 10:50:48 +0800
Subject: [PATCH] 用时分析代码整理+注释整理
---
smart-man-boot/src/main/java/com/qianwen/smartman/modules/report/utils/ThreadPoolUtil.java | 2 +-
1 files changed, 1 insertions(+), 1 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..fc0d06f 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
@@ -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