feat: 采集和导出固定由排队进程执行
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user