Remove PostgreSQL support and standardize on SQLite only.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user