mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Make websocket thread daemon
This commit is contained in:
parent
87d2d273d3
commit
5af1294f71
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ def start_thread():
|
|||
# Check for any existing sessions on start up
|
||||
activity_pinger.check_active_sessions(ws_request=True)
|
||||
# Start the websocket listener on it's own thread
|
||||
threading.Thread(target=run).start()
|
||||
thread = threading.Thread(target=run)
|
||||
thread.daemon = True
|
||||
thread.start()
|
||||
|
||||
|
||||
def on_connect():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue