refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 (#6320)

This commit is contained in:
Aqr-K
2026-08-15 06:58:38 +08:00
committed by GitHub
parent e28de9cfe1
commit 8a11214a43
252 changed files with 11405 additions and 2889 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ from abc import ABC, abstractmethod
from typing import Any, Union
from app.chain import ChainBase
from app.db.systemconfig_oper import SystemConfigOper
from app.db.oper.systemconfig import SystemConfigOper
from app.schemas import ActionContext, ActionParams, ActionResult
+1 -1
View File
@@ -2,7 +2,7 @@ from app.workflow.actions import BaseAction
from app.chain.subscribe import SubscribeChain
from app.runtime.config import settings, global_vars
from app.domain.context import MediaInfo
from app.db.subscribe_oper import SubscribeOper
from app.db.oper.subscribe import SubscribeOper
from app.runtime.log import logger
from app.schemas import ActionParams, ActionContext
+1 -1
View File
@@ -6,7 +6,7 @@ from pydantic import Field
from app.workflow.actions import BaseAction
from app.runtime.config import global_vars
from app.db.transferhistory_oper import TransferHistoryOper
from app.db.oper.transferhistory import TransferHistoryOper
from app.schemas import ActionParams, ActionContext
from app.chain.storage import StorageChain
from app.chain.transfer import TransferChain