From e075e6f4f8c1e3ece2ff4694a54a05715e988e24 Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 12 May 2025 09:44:43 +0800 Subject: [PATCH] =?UTF-8?q?perf(os-admin):=20=E8=B0=83=E6=95=B4=20Druid=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 remove-abandoned-timeout 参数从20 秒调整为 30 秒 - 此修改旨在优化数据库连接的回收机制,提高系统稳定性 --- os-admin/src/main/resources/application-druid.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-admin/src/main/resources/application-druid.yml b/os-admin/src/main/resources/application-druid.yml index 4a86182..662e996 100644 --- a/os-admin/src/main/resources/application-druid.yml +++ b/os-admin/src/main/resources/application-druid.yml @@ -89,6 +89,6 @@ spring: #超过时间限制是否回收 remove-abandoned: true #超时时间;单位为秒。180秒=3分钟 - remove-abandoned-timeout: 20 + remove-abandoned-timeout: 30 #关闭abanded连接时输出错误日志 log-abandoned: false \ No newline at end of file