Skip to content

Commit

Permalink
关闭守护进程
Browse files Browse the repository at this point in the history
  • Loading branch information
glide-the committed Jun 1, 2024
1 parent 3a4c599 commit 487044a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/chatchat-server/chatchat/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def process_count():
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

Expand Down Expand Up @@ -367,4 +367,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 487044a

Please sign in to comment.