feat(statistic): 延迟统计任务启动时间和运行间隔以优化性能

fix(engine): 禁用 SQLAlchemy 查询编译缓存以防止 tuple 膨胀

fix(message_repository): 优化日志输出格式以提高可读性
This commit is contained in:
Windpicker-owo
2025-12-09 21:44:56 +08:00
parent b1fe5b1f08
commit ceee6f38d5
3 changed files with 8 additions and 6 deletions

View File

@@ -121,7 +121,7 @@ class StatisticOutputTask(AsyncTask):
def __init__(self, record_file_path: str = "mofox_bot_statistics.html"):
# 延迟300秒启动运行间隔300秒
super().__init__(task_name="Statistics Data Output Task", wait_before_start=0, run_interval=300)
super().__init__(task_name="Statistics Data Output Task", wait_before_start=600, run_interval=900)
self.name_mapping: dict[str, tuple[str, float]] = {}
"""