1
This commit is contained in:
@@ -11,6 +11,13 @@ spring:
|
||||
url: jdbc:mysql://134.175.126.60:33306/jd?characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: mysql_7sjTXH
|
||||
hikari:
|
||||
maximum-pool-size: 200 # 最大连接数
|
||||
minimum-idle: 5 # 最小空闲连接数
|
||||
idle-timeout: 30000 # 空闲连接超时时间(毫秒)
|
||||
max-lifetime: 2000000 # 最大生命周期(毫秒)
|
||||
connection-timeout: 30000 # 连接超时时间(毫秒)
|
||||
pool-name: SpringBootHikariCP # 连接池名字
|
||||
#redis配置
|
||||
redis:
|
||||
host: 134.175.126.60
|
||||
@@ -19,7 +26,7 @@ spring:
|
||||
timeout: 1800000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 20
|
||||
max-active: 200
|
||||
#最大阻塞等待时间(负数表示没限制)
|
||||
max-wait: -1
|
||||
max-idle: 5
|
||||
|
||||
Reference in New Issue
Block a user