dd08f33dc6dfab66a1d87dd3f9b5e0aa30c55b39
The live-status batch poller (60s cadence, every streamer in the watch list) was sending two things on every tick: - `changes` — the diff vs. the previous tick, used by the renderer - `snapshot` — the full Map<login, boolean> serialized as a record Renderer destructures only `changes` (renderer-streamers.ts line 20). The snapshot field was wire-noise. For a typical 30-50 streamer watch list, that snapshot is ~1.5KB of JSON every minute, never read on the other side. Dropped from the broadcast payload. Initial-state sync still works: the renderer's initLiveStatusSubscription calls window.api.getLiveStatusSnapshot() once at boot to pre-fill its map. The broadcast is only for diffs. Also added a short-circuit on the main side: if changes.length === 0 (every streamer's live status matched the cached value this tick), don't broadcast at all. The renderer would just iterate an empty array and trigger a no-op render; saves the wakeup entirely. Type signature updates ride through preload.ts + renderer-globals.d.ts so the API contract stays accurate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
5.7 MiB
Releases
230
Twitch VOD Manager 1.0.23
Latest
Languages
TypeScript
74.7%
CSS
12.6%
HTML
7.1%
JavaScript
5.6%