mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Database components with proper schema management FFmpeg components with process management Queue system with state management Processor components with proper handlers Utility components with shared instances Configuration components with validation Initialization sequence is now properly ordered: Config Manager initialization Path setup Database initialization FFmpeg setup Queue Manager initialization Video Processor setup Guild Components initialization Update Checker startup Queue Processing start Proper cleanup handling is in place: Component cleanup in reverse order Resource cleanup with timeouts Force cleanup for hung processes System-wide FFmpeg process cleanup Health monitoring is implemented for all components: Database connection monitoring Queue health checks Processor status tracking Component state validation
14 lines
382 B
Python
14 lines
382 B
Python
"""Database management package for video archiving"""
|
|
|
|
from .connection_manager import DatabaseConnectionManager
|
|
from .query_manager import DatabaseQueryManager
|
|
from .schema_manager import DatabaseSchemaManager
|
|
from .video_archive_db import VideoArchiveDB
|
|
|
|
__all__ = [
|
|
'DatabaseConnectionManager',
|
|
'DatabaseQueryManager',
|
|
'DatabaseSchemaManager',
|
|
'VideoArchiveDB'
|
|
]
|