mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Only connect if first run is complete
This commit is contained in:
parent
90443b4028
commit
c2713c53dd
3 changed files with 7 additions and 7 deletions
|
@ -461,6 +461,7 @@ def start():
|
|||
notification_handler.start_threads(num_threads=CONFIG.NOTIFICATION_THREADS)
|
||||
notifiers.check_browser_enabled()
|
||||
|
||||
if CONFIG.FIRST_RUN_COMPLETE:
|
||||
activity_pinger.connect_server(log=True, startup=True)
|
||||
|
||||
_STARTED = True
|
||||
|
|
|
@ -33,7 +33,6 @@ ws_reconnect = False
|
|||
|
||||
|
||||
def start_thread():
|
||||
if plexpy.CONFIG.FIRST_RUN_COMPLETE:
|
||||
# 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
|
||||
|
|
|
@ -2748,7 +2748,7 @@ class WebInterface(object):
|
|||
|
||||
# If first run, start websocket
|
||||
if first_run:
|
||||
activity_pinger.connect_server()
|
||||
activity_pinger.connect_server(log=True, startup=True)
|
||||
|
||||
# Reconfigure scheduler if intervals changed
|
||||
if reschedule:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue