Просмотр исходного кода

修改数据库最大连接数

sbj 4 месяцев назад
Родитель
Сommit
d9f3576e5c

+ 1 - 1
ghjg-item-datashare-server/src/main/resources/profile/dev/application.yml

@@ -17,7 +17,7 @@ spring:
     username: ghjg_basics
     password: GHJG@123
     hikari:
-      maximum-pool-size: 30
+      maximum-pool-size: 15
       connection-timeout: 30000
       idle-timeout: 600000
       max-lifetime: 1800000

+ 1 - 1
ghjg-item-datashare-server/src/main/resources/profile/pro/application.yml

@@ -17,7 +17,7 @@ spring:
     username: ghjg_basics
     password: GHJG@123
     hikari:
-      maximum-pool-size: 30
+      maximum-pool-size: 15
       connection-timeout: 30000
       idle-timeout: 600000
       max-lifetime: 1800000

+ 1 - 1
ghjg-item-datashare-server/src/main/resources/profile/test/application.yml

@@ -17,7 +17,7 @@ spring:
     username: ghjg_basics
     password: GHJG@123
     hikari:
-      maximum-pool-size: 30
+      maximum-pool-size: 15
       connection-timeout: 30000
       idle-timeout: 600000
       max-lifetime: 1800000