ai服务状态更新

This commit is contained in:
2026-07-01 11:55:37 +08:00
parent f6fa167d76
commit 99fb474bcf
9 changed files with 405 additions and 76 deletions
+1 -21
View File
@@ -26,27 +26,7 @@ from typing import Any
import pymysql
import pymysql.cursors
# ============================================================
# 硬编码数据库配置
# ============================================================
SOURCE_CONFIG = {
"host": "127.0.0.1",
"port": 3306,
"user": "root",
"password": "PLEASE_CHANGE_ME",
"database": "meshtastic",
"charset": "utf8mb4",
}
TARGET_CONFIG = {
"host": "127.0.0.1",
"port": 3307,
"user": "root",
"password": "PLEASE_CHANGE_ME",
"database": "meshtastic",
"charset": "utf8mb4",
}
from db_config import SOURCE_CONFIG, TARGET_CONFIG
BATCH_SIZE = 5000