fix(client): #1048 Client.UI recursive subscribe + restore batch through SubscribeManyAsync; CLI subscribe/alarms exit 3 when a failover never recovers
- SubscriptionsViewModel collects the subtree's variables first (deduped, already-subscribed skipped) and creates them in one SubscribeManyAsync; per-node failures are named in StatusMessage, a whole-batch failure adds nothing. RestoreSubscriptionsAsync batches too. - CLI: ConnectionLossWatch ends subscribe/alarms when the service lands Disconnected on its own, or stays out of Connected past --reconnect-timeout (default 300 s, 0 = no limit): WARNING line, summary (subscribe adds 'Connection: LOST'), exit code 3. A recovery inside the window re-arms the watch.
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ Right-click on tree nodes to access:
|
||||
|
||||
| Action | Description |
|
||||
|--------|-------------|
|
||||
| **Subscribe** | Subscribe to data changes on the selected node(s). For Object nodes, recursively subscribes all Variable descendants (up to 10 levels deep). Switches to the Subscriptions tab. |
|
||||
| **Subscribe** | Subscribe to data changes on the selected node(s). For Object nodes, recursively subscribes all Variable descendants (up to 10 levels deep) — the subtree is browsed first and every monitored item is then created in one batched request (#1048), with per-node failures named in the status bar. Restoring saved subscriptions at connect is batched the same way. Switches to the Subscriptions tab. |
|
||||
| **View History** | Set the selected Variable node as the target in the History tab and switch to it. Only enabled for Variable nodes. |
|
||||
| **Monitor Alarms** | Stop any active alarm subscription and subscribe to alarm events on the selected node. Switches to the Alarms tab with automatic condition refresh. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user