mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 13:23:16 +08:00
关闭守护进程
This commit is contained in:
parent
3a4c5994a5
commit
487044a13f
@ -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
|
||||
|
||||
@ -367,4 +367,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user