Dispatcharr/apps/proxy/live_proxy/input
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
buffer.py fix(proxy): enhance channel teardown and client management 2026-06-14 21:41:50 -05:00
http_streamer.py
manager.py fix(live): prevent geventpool DB connection leaks and enhance channel name resolution (Fixes #1418) 2026-07-19 14:06:14 +00:00