From f83b8c258517ed63e5b134976af734be0bbca333 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Thu, 8 Jul 2021 22:13:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20hikari=20=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 --- server/src/main/resources/application.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/src/main/resources/application.yaml b/server/src/main/resources/application.yaml index 45e3f7a8..92f64c10 100644 --- a/server/src/main/resources/application.yaml +++ b/server/src/main/resources/application.yaml @@ -7,6 +7,14 @@ spring: url: jdbc:mysql://47.94.158.71:3306/dynamic-threadpool?characterEncoding=UTF-8 username: root password: root + hikari: + connectionTimeout: 60000 + idleTimeout: 60000 + validationTimeout: 3000 + maxLifetime: 60000 + loginTimeout: 5 + maximumPoolSize: 60 + minimumIdle: 10 mybatis-plus: configuration: