Dispatcharr/apps/proxy
SergeantPanda 21901498de fix(connections): ensure proper cleanup of geventpool checkouts across various components
This update addresses issues related to geventpool database connection leaks by consistently invoking `close_old_connections()` in `finally` blocks within the backup scheduler, plugin repository refresh, and core notification synchronization processes. These changes ensure that idle connections are properly released, preventing resource exhaustion. HLS proxy server has been disabled (hasn't been used). Additionally, the proxy server cleanup logic has been enhanced to safely handle the absence of proxy instances. Tests have been updated to validate these improvements and ensure stability in high-load scenarios.
2026-07-19 14:32:51 +00:00
..
hls_proxy security: Hardened the HLS proxy change_stream endpoint by converting it from a plain Django view to a DRF @api_view with @permission_classes([IsAdmin]), ensuring the endpoint actually enforces admin-only access. The previous decorator arrangement (@csrf_exempt + @permission_classes) had no effect on a plain Django view. 2026-04-09 19:58:40 -05:00
live_proxy fix(live): prevent geventpool DB connection leaks and enhance channel name resolution (Fixes #1418) 2026-07-19 14:06:14 +00:00
management/commands fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
tests fix(proxy): enhance stream switching logic and error handling 2026-07-11 18:21:48 +00:00
vod_proxy fix(vod): prevent stale profile connection reservations in Redis-backed VOD sessions (Fixes #1426) 2026-07-17 21:35:32 +00:00
__init__.py Initial integration. 2025-03-03 18:40:30 -06:00
apps.py fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
config.py feat(catchup): enhance catchup functionality with user and system settings 2026-07-18 18:55:51 +00:00
signals.py fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
stats_views.py feat(timeshift): add catch-up playback, stats, and admin APIs 2026-07-11 17:14:31 +00:00
tasks.py feat(timeshift): add catch-up playback, stats, and admin APIs 2026-07-11 17:14:31 +00:00
urls.py refactor(permissions): enhance permission handling across various viewsets 2026-07-18 20:03:03 +00:00
utils.py feat(timeshift): add catch-up playback, stats, and admin APIs 2026-07-11 17:14:31 +00:00
views.py Initial integration. 2025-03-03 18:40:30 -06:00