mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
- Introduced a temporary staging table for efficient batch processing of EPG program inserts, reducing memory and I/O contention during updates. - Enhanced the `parse_programs_for_source` function to stream parsed rows into the staging table before swapping them atomically into the main program data. - Added unit tests to validate the new staging and swapping logic, ensuring existing programs are preserved during failures and that batch processing works as intended. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| test_current_programs_api.py | ||
| test_entity_resolution.py | ||
| test_epg_search_api.py | ||
| test_parse_programs_for_source.py | ||
| test_programme_index.py | ||
| test_schedules_direct.py | ||
| test_serializers.py | ||