启用数据库预加载器,清理日志

This commit is contained in:
Windpicker-owo
2025-12-08 17:17:53 +08:00
parent 96ed5a6789
commit a1d60ab026
46 changed files with 484 additions and 886 deletions

View File

@@ -420,14 +420,6 @@ class UnifiedScheduler:
# 取消所有正在执行的任务
await self._cancel_all_running_tasks()
# 显示最终统计
stats = self.get_statistics()
logger.info(
f"调度器最终统计: 总任务={stats['total_tasks']}, "
f"执行次数={stats['total_executions']}, "
f"失败={stats['total_failures']}"
)
# 清理资源
self._tasks.clear()
self._tasks_by_name.clear()