fix: 移除重启接口中的知识库重启逻辑,优化重启流程
This commit is contained in:
parent
8f37e1c8d9
commit
d5e1ab8c05
@ -91,7 +91,6 @@ async def update_config_item(
|
|||||||
|
|
||||||
@base.post("/restart")
|
@base.post("/restart")
|
||||||
async def restart(current_user: User = Depends(get_superadmin_user)):
|
async def restart(current_user: User = Depends(get_superadmin_user)):
|
||||||
knowledge_base.restart()
|
|
||||||
graph_base.start()
|
graph_base.start()
|
||||||
return {"message": "Restarted!"}
|
return {"message": "Restarted!"}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user