From b7980ade1c5532bd0f4ebf0b53a9cdaa75c66f7e Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Tue, 28 Jul 2026 22:04:30 +0800 Subject: [PATCH] fix(update): decouple optional mail health --- update-service/src/main/resources/application.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/update-service/src/main/resources/application.yml b/update-service/src/main/resources/application.yml index 8064ae8..2e24d7a 100644 --- a/update-service/src/main/resources/application.yml +++ b/update-service/src/main/resources/application.yml @@ -71,3 +71,8 @@ management: endpoint: health: show-details: always + health: + # 商店通知默认关闭;未配置 SMTP 时不能把整个更新服务判为不可用。 + # 租户启用邮件通知并完成 SMTP 配置后,可显式设为 true 监测邮件链路。 + mail: + enabled: ${MANAGEMENT_HEALTH_MAIL_ENABLED:false}