fix 线程配置

This commit is contained in:
huahua
2024-07-24 11:37:21 +08:00
parent 39c9333581
commit 64e4c2229b

View File

@@ -48,7 +48,6 @@ public class ExecutorConfig {
@PreDestroy
public void shutdown() {
if (!isShutdown.getAndSet(true)) {
executorService.shutdownNow();
// 尝试更彻底地关闭线程池
executorService.shutdownNow(); // 阻止新任务提交并尝试停止当前正在执行的任务
try {