Dispatcharr/apps/proxy/live_proxy/output/ts
SergeantPanda 64912c6164 fix(live): prevent geventpool DB connection leaks and enhance channel name resolution (Fixes #1418)
This update addresses a critical issue where geventpool database connections were not properly released during stream setup and teardown, potentially leading to resource exhaustion. The `close_old_connections()` method is now consistently called in `finally` blocks across various components, ensuring that connections are released even in the event of exceptions. Additionally, the logic for resolving channel and stream names has been improved to prioritize caller-supplied names and Redis values, reducing reliance on ORM during initialization. This change enhances performance and stability, particularly in high-load scenarios. Tests have been updated to validate these improvements.
2026-07-19 14:06:14 +00:00
..
__init__.py Enhancement: Initial fmp4 support and major ts_proxy refactor 2026-05-08 17:46:47 -05:00
generator.py fix(live): prevent geventpool DB connection leaks and enhance channel name resolution (Fixes #1418) 2026-07-19 14:06:14 +00:00