Browse Source

眼科电子病历及检查接口开发

wangzhinan 1 year ago
parent
commit
936021e890

+ 4 - 0
gateway/ag-basic/src/main/resources/application.yml

@ -7,6 +7,10 @@ server:
spring:
spring:
  datasource:
  datasource:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    driver-class-name: com.mysql.jdbc.Driver
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 100
    max-active: 100
    max-idle: 100 #最大空闲连接
    max-idle: 100 #最大空闲连接

+ 4 - 1
server/svr-authentication/src/main/resources/application.yml

@ -4,7 +4,10 @@ server:
spring:
spring:
  datasource:
  datasource:
  hikari:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    registerMbeans: true
    registerMbeans: true
    driver-class-name: com.mysql.jdbc.Driver
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 100
    max-active: 100

+ 4 - 0
svr/svr-base/src/main/resources/application.yml

@ -10,6 +10,10 @@ express:
spring:
spring:
  datasource:
  datasource:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    driver-class-name: com.mysql.jdbc.Driver
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 50
    max-active: 50
    max-idle: 50 #最大空闲连接
    max-idle: 50 #最大空闲连接

+ 4 - 0
svr/svr-internet-hospital-entrance/src/main/resources/application.yml

@ -5,6 +5,10 @@ server:
spring:
spring:
  datasource:
  datasource:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    driver-class-name: com.mysql.jdbc.Driver
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 50
    max-active: 50
    max-idle: 50 #最大空闲连接
    max-idle: 50 #最大空闲连接

+ 4 - 0
svr/svr-internet-hospital-job/src/main/resources/application.yml

@ -4,6 +4,10 @@ server:
spring:
spring:
  datasource:
  datasource:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    driver-class-name: com.mysql.jdbc.Driver
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 50
    max-active: 50
    max-idle: 50 #最大空闲连接
    max-idle: 50 #最大空闲连接

+ 4 - 0
svr/svr-internet-hospital/src/main/resources/application.yml

@ -6,6 +6,10 @@ spring:
  aop:
  aop:
    proxy-target-class: true
    proxy-target-class: true
  datasource:
  datasource:
    hikari:
      idle-timeout: 600000 # 10 minutes
      max-lifetime: 1800000 # 30 minutes
      health-check-properties: "select 1"
    max-active: 200
    max-active: 200
    max-idle: 200 #最大空闲连接
    max-idle: 200 #最大空闲连接
    min-idle: 10 #最小空闲连接
    min-idle: 10 #最小空闲连接