feat: 采集和导出固定由排队进程执行

This commit is contained in:
2026-10-30 09:58:21 +08:00
parent 3fa4f83180
commit c232ccbec5
12 changed files with 36 additions and 59 deletions
-2
View File
@@ -12,7 +12,6 @@ from fastapi.staticfiles import StaticFiles
from app.api.http import router
from app.bootstrap import init_db
from app.config import installed
from app.runtime import start_background
logger = logging.getLogger("decom")
WEB_DIST = next(
@@ -31,7 +30,6 @@ WEB_DIST = next(
@asynccontextmanager
async def lifespan(_application: FastAPI):
init_db()
start_background()
yield