fix(config): 调整Redis连接超时时间和禁用邮件健康检查
- 将生产环境Redis连接超时时间从10秒增加到30秒 - 在开发环境和生产环境中都禁用了邮件服务的健康检查 - 统一配置管理中关于邮件发送的默认设置为禁用状态
This commit is contained in:
@@ -136,6 +136,11 @@ redisson:
|
||||
# 发布和订阅连接池大小
|
||||
subscriptionConnectionPoolSize: 50
|
||||
|
||||
management:
|
||||
health:
|
||||
mail:
|
||||
enabled: false
|
||||
|
||||
--- # mail 邮件发送
|
||||
mail:
|
||||
enabled: false
|
||||
|
||||
@@ -111,7 +111,7 @@ spring:
|
||||
# 密码(如没有密码请注释掉)
|
||||
password: WANGyu11!
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
timeout: 30s
|
||||
# 是否开启ssl
|
||||
ssl: false
|
||||
|
||||
@@ -137,6 +137,11 @@ redisson:
|
||||
# 发布和订阅连接池大小
|
||||
subscriptionConnectionPoolSize: 50
|
||||
|
||||
management:
|
||||
health:
|
||||
mail:
|
||||
enabled: false
|
||||
|
||||
--- # mail 邮件发送
|
||||
mail:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user