mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
fix(startup): defer alarm pull 60s; health probe accepts only HTTP 200
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f562f50953
commit
65e0713e94
3 changed files with 30 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue