数据库、redis更换44内网服务,解决外网响应较慢问题

This commit is contained in:
梁琦涛
2023-03-06 09:48:36 +08:00
parent 932a22d267
commit 56445cb392
@@ -131,7 +131,7 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000;druid.stat.logSlowSql\=true
datasource:
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
password: hzwlsoft.com
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -148,7 +148,7 @@ spring:
#redis 配置
redis:
database: 3
host: 121.36.69.172
host: 10.10.10.44
lettuce:
pool:
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
@@ -156,8 +156,8 @@ spring:
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
shutdown-timeout: 100ms
password: 'hzwlsoft.com'
port: 4780
password: 123456
port: 6379
#rabbitmq 配置
rabbitmq:
host: 121.36.69.172