fix(startup): defer alarm pull 60s; health probe accepts only HTTP 200

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-06-04 21:32:07 +08:00
parent f562f50953
commit 65e0713e94
3 changed files with 30 additions and 3 deletions

View file

@ -44,6 +44,8 @@ class Settings(BaseSettings):
ume_sync_alarms_current_interval_s: int = 18000
ume_sync_alarms_current_skip_when_ws: bool = True
ume_startup_sync_alarms_before_ws: bool = True
# Defer first REST alarm pull after process start (WSS may connect earlier).
ume_startup_alarm_sync_delay_s: int = 60
ume_alarm_cleared_tombstone_s: int = 300
ume_alarm_ws_enabled: bool = True
ume_notification_establish_path: str = "/restconf/operations/zte-notifications:establish-subscription"