mirror of
https://github.com/henrygd/beszel.git
synced 2026-10-22 06:12:33 +00:00
pb.realtime.subscribe() resolves only once the server has confirmed the subscription. When the chart time changed away from 1m before that, the effect cleanup ran with the initial no-op, the subscription stayed active, and its 1m points kept overwriting the 1h history. Track cancellation, unsubscribe as soon as the late subscription resolves, and ignore messages that arrive after cleanup. Fixes #2598.