reducing the channel sizes so data doesn't pile up and frames are dropped instead

This commit is contained in:
2026-06-24 16:05:03 +01:00
parent 5b77b5b941
commit 2ae29af199
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func NewIRacingProvider(
logger: logger,
SDK: sdk,
data: telem.NewTelemetryData(),
streamCh: make(chan telem.TelemetryData),
streamCh: make(chan telem.TelemetryData, 1),
// NOTE: This is because I stupidly recorded a test IBT file in 240
ticker: time.NewTicker(time.Second / 240),
}, nil