From 487044a13fdfdbe6fd18039a0746db30d737fbe2 Mon Sep 17 00:00:00 2001 From: glide-the <2533736852@qq.com> Date: Sat, 1 Jun 2024 12:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=AE=88=E6=8A=A4=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/chatchat-server/chatchat/startup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/chatchat-server/chatchat/startup.py b/libs/chatchat-server/chatchat/startup.py index 01a7b10c..992864b3 100644 --- a/libs/chatchat-server/chatchat/startup.py +++ b/libs/chatchat-server/chatchat/startup.py @@ -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() \ No newline at end of file + main()