From 44d55dae352b69cc2ea7086517ace16abb1d0fd7 Mon Sep 17 00:00:00 2001 From: zhangzq Date: Fri, 25 Apr 2025 17:12:45 +0800 Subject: [PATCH] =?UTF-8?q?opt:druid=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/application-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/nladmin-system/src/main/resources/config/application-prod.yml b/lms/nladmin-system/src/main/resources/config/application-prod.yml index 77b1c7294..d567b5f63 100644 --- a/lms/nladmin-system/src/main/resources/config/application-prod.yml +++ b/lms/nladmin-system/src/main/resources/config/application-prod.yml @@ -31,7 +31,7 @@ spring: # 指明连接是否被空闲连接回收器(如果有)进行检验.如果检测失败,则连接将被从池中去除 test-while-idle: true # 指明是否在从池中取出连接前进行检验,如果检验失败, 则从池中去除连接并尝试取出另一个 - test-on-borrow: true + test-on-borrow: false # 是否在归还到池中前进行检验 test-on-return: false # 检测连接是否有效