数据库、redis更换44内网服务,解决外网响应较慢问题
This commit is contained in:
@@ -131,7 +131,7 @@ spring:
|
|||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000;druid.stat.logSlowSql\=true
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000;druid.stat.logSlowSql\=true
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://121.36.69.172:3307/jero-boot-bug?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://10.10.10.44:3306/jero-boot-bug?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: hzwlsoft.com
|
password: hzwlsoft.com
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
@@ -148,7 +148,7 @@ spring:
|
|||||||
#redis 配置
|
#redis 配置
|
||||||
redis:
|
redis:
|
||||||
database: 3
|
database: 3
|
||||||
host: 121.36.69.172
|
host: 10.10.10.44
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
||||||
@@ -156,8 +156,8 @@ spring:
|
|||||||
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
||||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||||
shutdown-timeout: 100ms
|
shutdown-timeout: 100ms
|
||||||
password: 'hzwlsoft.com'
|
password: 123456
|
||||||
port: 4780
|
port: 6379
|
||||||
#rabbitmq 配置
|
#rabbitmq 配置
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: 121.36.69.172
|
host: 121.36.69.172
|
||||||
|
|||||||
Reference in New Issue
Block a user