mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 13:00:44 +08:00
feat(ume): coordinate WSS with REST sync and sync before WSS on startup
WSS-primary current alarms with upsert/tombstone, skip scheduled REST when WSS active, safe manual reconcile, startup REST baseline before WebSocket connect. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
aaee32a7a8
commit
6701aee3c7
8 changed files with 476 additions and 38 deletions
|
|
@ -112,6 +112,9 @@ export type UmeAlarmSubscriptionStatus = {
|
|||
topic?: string;
|
||||
server_subscription_lost?: boolean;
|
||||
server_subscription_lost_reason?: string;
|
||||
current_alarms_mode?: "wss" | "rest";
|
||||
wss_active_for_current_alarms?: boolean;
|
||||
scheduled_sync_skipped?: boolean;
|
||||
needs_local_cleanup?: boolean;
|
||||
ume_already_missing?: boolean;
|
||||
cleared_local?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue