fix: layers_health DB路径修正——DB_PATH未定义改完整路径/home/hmo/MoFin/data/mofin.db

This commit is contained in:
hmo
2026-08-12 10:56:13 +08:00
parent 5b978e20e4
commit b7d040b40c
+1 -1
View File
@@ -1148,7 +1148,7 @@ def build_report():
def _layer_health():
health = {}
try:
_c = sqlite3.connect(DB_PATH)
_c = sqlite3.connect("/home/hmo/MoFin/data/mofin.db", timeout=10)
# 采集层健康:原始数据新鲜度 + 覆盖范围
collect = {}
for tname, sql in {