配置连接池
This commit is contained in:
parent
b6381301cd
commit
3bda648b40
|
|
@ -43,6 +43,12 @@ spring:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: Andy_123
|
password: Andy_123
|
||||||
|
hikari:
|
||||||
|
maximum-pool-size: 10
|
||||||
|
min-idle: 5
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 600000
|
||||||
|
max-lifetime: 1800000
|
||||||
# kafka:
|
# kafka:
|
||||||
# bootstrap-servers: localhost:9092
|
# bootstrap-servers: localhost:9092
|
||||||
# producer:
|
# producer:
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,12 @@ spring:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: Andy_123
|
password: Andy_123
|
||||||
|
hikari:
|
||||||
|
maximum-pool-size: 10
|
||||||
|
min-idle: 5
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 600000
|
||||||
|
max-lifetime: 1800000
|
||||||
|
|
||||||
# kafka:
|
# kafka:
|
||||||
# bootstrap-servers: localhost:9092
|
# bootstrap-servers: localhost:9092
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,12 @@ spring:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://127.0.0.1:3306/qihang-oms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: Andy_123
|
password: Andy_123
|
||||||
|
hikari:
|
||||||
|
maximum-pool-size: 10
|
||||||
|
min-idle: 5
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 600000
|
||||||
|
max-lifetime: 1800000
|
||||||
|
|
||||||
qihangerp:
|
qihangerp:
|
||||||
# 验证码类型 math 数字计算 char 字符验证
|
# 验证码类型 math 数字计算 char 字符验证
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue