fix(config): 调整Redis连接超时时间和禁用邮件健康检查

- 将生产环境Redis连接超时时间从10秒增加到30秒
- 在开发环境和生产环境中都禁用了邮件服务的健康检查
- 统一配置管理中关于邮件发送的默认设置为禁用状态
This commit is contained in:
2025-12-06 15:47:39 +08:00
parent ccf9064c67
commit fa3bb02564
2 changed files with 11 additions and 1 deletions

View File

@@ -136,6 +136,11 @@ redisson:
# 发布和订阅连接池大小 # 发布和订阅连接池大小
subscriptionConnectionPoolSize: 50 subscriptionConnectionPoolSize: 50
management:
health:
mail:
enabled: false
--- # mail 邮件发送 --- # mail 邮件发送
mail: mail:
enabled: false enabled: false

View File

@@ -111,7 +111,7 @@ spring:
# 密码(如没有密码请注释掉) # 密码(如没有密码请注释掉)
password: WANGyu11! password: WANGyu11!
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 30s
# 是否开启ssl # 是否开启ssl
ssl: false ssl: false
@@ -137,6 +137,11 @@ redisson:
# 发布和订阅连接池大小 # 发布和订阅连接池大小
subscriptionConnectionPoolSize: 50 subscriptionConnectionPoolSize: 50
management:
health:
mail:
enabled: false
--- # mail 邮件发送 --- # mail 邮件发送
mail: mail:
enabled: false enabled: false