From 3b1b1845f84bce283497f587cb23dc12ceb22907 Mon Sep 17 00:00:00 2001 From: Harry <501777010@qq.com> Date: Fri, 23 Oct 2020 16:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E5=A2=9E=E5=8A=A0=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=B1=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/META-INF/sop-admin.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sop-admin/sop-admin-server/src/main/resources/META-INF/sop-admin.properties b/sop-admin/sop-admin-server/src/main/resources/META-INF/sop-admin.properties index 3920b570..00b51aa0 100644 --- a/sop-admin/sop-admin-server/src/main/resources/META-INF/sop-admin.properties +++ b/sop-admin/sop-admin-server/src/main/resources/META-INF/sop-admin.properties @@ -25,6 +25,10 @@ spring.datasource.url=jdbc:mysql://${mysql.host}/sop?useUnicode=true&characterEn spring.datasource.username=${mysql.username} spring.datasource.password=${mysql.password} +#连接池 +spring.datasource.hikari.pool-name=DatebookHikariCP +spring.datasource.hikari.max-lifetime=500000 + # 固定不用改 mybatis.mapper-locations=classpath:mybatis/mapper/*.xml easyopen.show-doc=false