fix(plex): a finished HLS session outlives a throttled heartbeat

This commit is contained in:
2026-11-03 19:15:18 +01:00
parent d5bc7e8031
commit f69725503f
4 changed files with 46 additions and 18 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ async def _reap_hls_sessions() -> None:
somebody pressed play again or the process restarted.
A FINISHED session is reaped on the short rule here, not kept for the full idle window: an open
player checkpoints every 10 s and that route touches the session, so a paused viewer is no longer
player keeps checkpointing and that route touches the session, so a paused viewer is no longer
invisible to this pass (see `reap_idle`). Keeping every finished session for ten minutes instead
held one whole segmented copy of a film per item on the download volume."""
while True: