removing some unecessary logs

This commit is contained in:
2026-09-17 23:01:50 +01:00
parent dbd4086bf9
commit 59fa825da1
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
package iracing
import (
"log/slog"
"time"
"github.com/ESilva15/goirsdk"
@@ -24,7 +23,7 @@ func IsRunning() bool {
// We now check for some consecutive data events
for range 3 {
if !irUtils.CheckValidDataEvent(1 * time.Second) {
slog.Debug("timed out waiting for DataValidEvent")
// slog.Debug("Timed out waiting for DataValidEvent")
return false
}
}
+2 -1
View File
@@ -82,6 +82,8 @@ func (t *TelemetryService) onFindProvider(prov providers.Provider) {
func (t *TelemetryService) onProviderStopsMidStream() {
// clear the current provider
// TODO: now we need to also clear the devices to restart everything,
// if the stream stopped we have to restart the devices and everything
t.logger.Info("cleaning dropped provider and restarting lookup service")
t.dropActiveProvider()
go t.FindProvider(t.CtxMonitor)
@@ -105,7 +107,6 @@ func (t *TelemetryService) FindProvider(ctx context.Context) {
t.onFindProvider(prov)
return
}
t.logger.Debug(" wasn't read")
}
}
}