Skip to content

Commit

Permalink
recover daemon process
Browse files Browse the repository at this point in the history
  • Loading branch information
noO0oOo0ob committed Oct 24, 2023
1 parent a4e9464 commit 5132264
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lyrebird/base_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5132264

Please sign in to comment.