相同hash 更新 source_url

This commit is contained in:
zk
2026-06-02 19:27:00 +08:00
parent 85278ea96a
commit 200e541c6e
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -1,6 +1,7 @@
"""项目入口:初始化数据源、加载字典、启动调度器"""
import asyncio
import logging
import signal
import warnings
from datetime import datetime
@@ -9,6 +10,7 @@ from app.core.logger import log
# 屏蔽 asyncmy INSERT IGNORE 产生的 Duplicate entry warnings
warnings.filterwarnings("ignore", message=".*Duplicate entry.*")
logging.getLogger("asyncmy").setLevel(logging.ERROR)
from app.core.database import init_db, close_db
from app.services.dict_cache_service import dict_cache
from app.scheduler.tasks import create_scheduler