Dispatcharr/core
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
..
fixtures feat: add system notifications and update checks 2026-02-03 09:24:02 -06:00
management/commands Enhancement: Update psycopg2 to 3. 2026-05-28 19:27:52 -05:00
migrations Enhancement: Implement live proxy failover for VLC stream profile, ensuring proper handling of upstream URL failures. Update changelog to reflect changes in stream management and VLC profile parameters. 2026-07-06 16:45:56 -05:00
tests refactor(permissions): enhance permission handling across various viewsets 2026-07-18 20:03:03 +00:00
__init__.py Alpha v3 2025-02-21 15:31:59 -06:00
admin.py modified database fields for consistency, removed custom_url from streams (no longer needed) 2025-03-16 09:07:10 -04:00
api_urls.py Enhancement: Initial fmp4 support and major ts_proxy refactor 2026-05-08 17:46:47 -05:00
api_views.py refactor(permissions): enhance permission handling across various viewsets 2026-07-18 20:03:03 +00:00
apps.py fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
command_utils.py Bypass redis for management commands. 2025-03-22 12:23:54 -05:00
developer_notifications.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
models.py feat(catchup): enhance catchup functionality with user and system settings 2026-07-18 18:55:51 +00:00
redis_pubsub.py initial run of a binary and encoded redis client - no more encoding / decoding data into redis, huge PITA (still some outstanding spots I need to patch) 2025-10-25 08:15:39 -04:00
scheduling.py fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
serializers.py refactor(proxy): Add new client connect grace period setting and update channel initialization grace period defaults. The channel_client_wait_period is introduced to manage channel lifetimes before client connections, while the channel_init_grace_period default is increased to improve failover handling. 2026-06-28 11:34:44 -05:00
signals.py feat(settings): implement Redis caching for CoreSettings and enhance network access handling 2026-07-18 17:33:02 +00:00
tasks.py feat(timeshift): add catch-up playback, stats, and admin APIs 2026-07-11 17:14:31 +00:00
urls.py Pre-Alpha v4 2025-02-24 15:04:03 -06:00
utils.py refactor(permissions): enhance permission handling across various viewsets 2026-07-18 20:03:03 +00:00
views.py refactor(permissions): enhance permission handling across various viewsets 2026-07-18 20:03:03 +00:00
xtream_codes.py fix(xc): normalize server URLs for live playback and stream URLs (Fixes #1363) 2026-06-18 10:12:12 -05:00