feat: Refactor TaskHandlerRegistry to include db_session_factory and enhance sound playback handling for user tasks

This commit is contained in:
JSC
2025-08-28 23:36:30 +02:00
parent 6e74d9b940
commit 96801dc4d6
2 changed files with 28 additions and 10 deletions

View File

@@ -332,7 +332,7 @@ class SchedulerService:
# Execute the task
try:
handler_registry = TaskHandlerRegistry(
session, self.credit_service, self.player_service
session, self.db_session_factory, self.credit_service, self.player_service
)
await handler_registry.execute_task(task)