Remove PostgreSQL support and standardize on SQLite only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-02 16:21:27 +08:00
parent 9379bc4f4f
commit 8ebe1a3c77
6 changed files with 77 additions and 310 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ REFRESH_SECONDS = {
def connect_kline_db(path: Optional[str] = None) -> sqlite3.Connection:
"""K 线专用 SQLite生产环境业务库可为 PostgreSQL,K 线仍走本地文件)。"""
"""K 线专用 SQLite与业务库 futures.db 分离)。"""
from modules.core.paths import KLINE_DB_PATH
db_path = path or KLINE_DB_PATH