Files
Pac-cogs/videoarchiver/enhanced_queue.py
pacnpal 2bf85b532b Adding robust datetime handling in _periodic_cleanup:
Added try-except blocks around individual item processing
Added proper string to datetime conversion with fallbacks
Added cleanup of problematic items that can't be processed
Improved error handling:

Added specific error logging for individual item failures
Added graceful removal of problematic items
Ensured cleanup continues even if some items fail
Added fallback mechanisms:

Uses current_time as fallback for invalid datetime values
Removes items that can't be properly processed
Prevents single item failures from breaking the entire cleanup process
2024-11-15 17:35:14 +00:00

37 KiB