clean up a bit the logic of how we get to know whether the telemetry started on devices lookup

This commit is contained in:
2026-09-21 15:55:31 +01:00
parent b364931c80
commit d10c6997f4
5 changed files with 45 additions and 61 deletions
-3
View File
@@ -26,9 +26,6 @@ func (t *TelemetryService) onFindProvider(prov telem.TelemetryProvider) {
// Start the healthcheck on our provider so we can drop it if it stops
t.CtxHealthcheck, t.healthCheckCancel = context.WithCancel(context.Background())
go t.ProviderMonitor(t.CtxHealthcheck)
// Tell the devices service we got a provider
t.OnProviderFound(prov.Name())
}
func (t *TelemetryService) onProviderStopsMidStream() {