|
|
028d91283e
|
feat: implement download queue service with persistence, priority, and retry logic
- Added comprehensive download queue service (download_service.py)
- Priority-based queue management (HIGH, NORMAL, LOW)
- Concurrent download processing with configurable limits
- Automatic queue persistence to JSON file
- Retry logic for failed downloads with max retry limits
- Real-time progress tracking and WebSocket broadcasting
- Queue operations: add, remove, reorder, pause, resume
- Statistics tracking: download speeds, sizes, ETA calculations
- Created comprehensive unit tests (test_download_service.py)
- 23 tests covering all service functionality
- Tests for queue management, persistence, retry logic
- Broadcast callbacks, error handling, and lifecycle
- Added structlog dependency for structured logging
- Updated infrastructure.md with download service documentation
- Removed completed task from instructions.md
All tests passing (23/23)
|
2025-10-17 10:07:16 +02:00 |
|