feat(otopcua): re-run driver discovery on reconnect

This commit is contained in:
Joseph Doherty
2026-06-26 07:44:28 -04:00
parent 51634cca38
commit cf6b1abf4c
2 changed files with 42 additions and 0 deletions
@@ -421,6 +421,7 @@ public sealed class DriverInstanceActor : ReceiveActor, IWithTimers
ResubscribeDesired();
AttachAlarmSource();
SubscribeDesiredAlarms();
StartDiscovery(); // re-run discovery on reconnect — keeps the injected tree fresh if the backend's capabilities changed
});
// A failure here is a no-op regardless of generation — the retry timer keeps trying the
// current config; only a (generation-matched) InitializeSucceeded transitions state.