mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-24 02:28:12 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_alternate_stream_order.py | ||
| test_buffering_state_recovery.py | ||
| test_failover_retry_window.py | ||
| test_live_db_cleanup.py | ||
| test_proxy_settings.py | ||
| test_stream_ts_client_registration.py | ||
| test_vlc_failover.py | ||