From e37810fe54e5ac6b1ded3faf7d94b4e062f53208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Thu, 9 Feb 2023 12:39:27 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=B1=A0=E5=A2=9E=E5=8A=A0=20keepaliveTime=20?= =?UTF-8?q?=E6=8E=A2=E6=B4=BB=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nacos/datasource.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/nacos/datasource.yml b/config/nacos/datasource.yml index 4c8235e3..cb3ac529 100644 --- a/config/nacos/datasource.yml +++ b/config/nacos/datasource.yml @@ -48,6 +48,8 @@ spring: maxLifetime: 1800000 # 连接测试query(配置检测连接是否有效) connectionTestQuery: SELECT 1 + # 多久检查一次连接的活性 + keepaliveTime: 30000 # seata配置 seata: