关闭守护进程

This commit is contained in:
glide-the 2024-06-01 12:16:56 +08:00
parent 3a4c5994a5
commit 487044a13f

View File

@ -284,7 +284,7 @@ async def start_main_server():
target=run_api_server,
name=f"API Server",
kwargs=dict(model_platforms_shard=model_platforms_shard, started_event=api_started, run_mode=run_mode),
daemon=True,
daemon=False,
)
processes["api"] = process