fix: v0.0.48 - track max n_decoded globally to handle slot disappear/reappear

- Use generateMaxDecoded to track highest n_decoded seen across all polls
- Detect resets when nd drops below max (even if slot disappeared and reappeared)
- Simplified logic: only compare against max, not per-slot baseline
- Removed generateSlotId tracking (no longer needed)
This commit is contained in:
Troed Sångberg
2026-06-13 23:27:21 +02:00
parent d711364d93
commit c299f430ac
2 changed files with 18 additions and 24 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@troed/oc-ls-stats",
"version": "0.0.47",
"version": "0.0.48",
"type": "module",
"exports": {
"./tui": {