Skip to content

Commit

Permalink
use daemon config again for http input connector thread
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 authored and djkhl committed Jun 20, 2024
1 parent b498181 commit e973f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logprep/util/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
logging.getLogger("uvicorn.access").name = self._logger_name
logging.getLogger("uvicorn.error").name = self._logger_name
self.server = uvicorn.Server(uvicorn_config)
self.thread = threading.Thread(daemon=False, target=self.server.run)
self.thread = threading.Thread(daemon=daemon, target=self.server.run)

def start(self):
"""Collect all configs, initiate application server and webserver
Expand Down

0 comments on commit e973f14

Please sign in to comment.