feat: refactor proxy management logic and add database integration
This commit is contained in:
+1
-1
@@ -3,9 +3,9 @@ from contextlib import asynccontextmanager
|
||||
from fastapi import FastAPI
|
||||
|
||||
from api.proxy.router import router as proxy_router
|
||||
from db.proxy import ensure_proxy_indexes
|
||||
from core.mongodb import close_mongodb, init_mongodb
|
||||
from core.redis import close_redis, init_redis
|
||||
from utils.proxy.manager import ensure_proxy_indexes
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
|
||||
Reference in New Issue
Block a user