fix(decoder): connect even when the browser storage is full

A big installation outgrew the localStorage quota; saveState() threw
QuotaExceededError and, since connecting saves first, the decoder never
came online. The local copy is only a cache of the server state, so a
write that doesn't fit now drops it instead of throwing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
larssandandClaude Opus 5.5 committed 2026-10-18 16:06:35 +02:00
1 parent c8a797fe6f
commit 2c6c37f6ca
9 files changed
+99 -4

No files matched your search

+6
View File
@@ -8,6 +8,12 @@ The application version is maintained in `package.json` and displayed in the adm
No changes recorded yet.
## 1.41.1 - 2026-10-18
### Fixed
- **Decoder would not connect on a big installation.** The browser's local copy of the state outgrew the storage quota (about 5 MB: results, training stats, logo). Every save then failed with `QuotaExceededError`, and since connecting saves first, the decoder never came online and Race Day showed "Decoder offline" although AMMC was running. The local copy is only a cache of the server's state: when it doesn't fit it is dropped, and saving to the server and connecting carry on.
## 1.41.0 - 2026-10-17
### Changed