修复高风险预警邮件通知并补充测试
This commit is contained in:
@@ -117,6 +117,9 @@ class Settings(BaseSettings):
|
||||
risk_scan_run_immediately: bool = False
|
||||
risk_scan_retry_limit: int = Field(default=2, ge=0, le=5)
|
||||
risk_scan_poll_seconds: float = Field(default=30, gt=0)
|
||||
risk_alert_mail_enabled: bool = False
|
||||
risk_alert_mail_dry_run: bool = True
|
||||
risk_alert_mail_recipients: str = ""
|
||||
# 投顾灰度默认关闭,只有显式开启并配置客户白名单后才限制客户流量。
|
||||
# 管理员角色始终可进入,便于审核、发布和故障处置。
|
||||
advisor_rollout_enabled: bool = False
|
||||
|
||||
Reference in New Issue
Block a user