From 11b76c76bcd4f235fb75959b53b64c6d9a2dd71e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 24 四月 2024 11:04:26 +0800
Subject: [PATCH] starter-redis代码整理
---
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