From 5132264cb750ed182794b3f68df5feb49f50044c Mon Sep 17 00:00:00 2001 From: sheng <625171796@qq.com> Date: Tue, 24 Oct 2023 09:58:51 +0800 Subject: [PATCH] recover daemon process --- lyrebird/base_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lyrebird/base_server.py b/lyrebird/base_server.py index 9355ea668..79863e5dc 100644 --- a/lyrebird/base_server.py +++ b/lyrebird/base_server.py @@ -56,7 +56,8 @@ def start(self): logger_queue = application.server['log'].queue self.server_process = Process(group=None, target=self.run, args=[service_msg_queue, config, logger_queue, self.args], - kwargs=self.kwargs) + kwargs=self.kwargs, + daemon=True) self.server_process.start() self.running = True