Dispatcharr/tests
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
..
__init__.py Fix modular mode deployment issues (#1045) 2026-03-03 17:18:16 -06:00
test_boot_db_cleanup.py fix(connections): ensure proper cleanup of geventpool checkouts across various components 2026-07-19 14:32:51 +00:00
test_celery_plugin_discovery.py refactor(celery): Replace worker_ready signal with worker_process_init for plugin discovery and close inherited DB connections. Use djangos PostgrSQL backend for celery tasks. 2026-07-02 13:33:04 -05:00
test_custom_properties_as_dict.py fix(m3u): enhance custom properties handling and DB connection management 2026-06-18 14:59:09 -05:00
test_geventpool_conn_lifetime.py feat(settings): add DATABASE_POOL_CONN_MAX_LIFETIME for connection management and update database engine path (Fixes #1343) 2026-06-12 11:31:09 -05:00
test_log_system_event.py Enhancement: Update changelog to reflect changes in ChannelPagination, ensuring pagination works correctly with only page_size provided. Refactor tests to improve reliability and consistency, including adjustments to database connection management in various test cases. Modify EPG name normalization tests for accuracy and clarity, and enhance program data serializer tests to utilize precomputed season and episode values. 2026-07-07 18:30:06 +00:00
test_openapi_schema.py fix(schema): resolve Swagger/OpenAPI schema generation issues under concurrent requests 2026-07-16 18:57:57 +00:00
test_process_label.py refactor(celery): Replace worker_ready signal with worker_process_init for plugin discovery and close inherited DB connections. Use djangos PostgrSQL backend for celery tasks. 2026-07-02 13:33:04 -05:00
test_user_preferences.py feat(catchup): enhance catchup functionality with user and system settings 2026-07-18 18:55:51 +00:00
test_wait_for_redis.py Move test_wait_for_redis.py call 2026-03-10 11:17:41 -05:00
test_websocket_utils.py refactor(epg): replace synchronous WebSocket send function with unified send_epg_update 2026-06-05 10:42:39 -05:00