mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Websocket check active sessions on reconnect cf70b3e989
This commit is contained in:
parent
4a5d2f8502
commit
bff4eaba56
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ def run():
|
||||||
logger.info(u"PlexPy WebSocket :: Reconnecting websocket...")
|
logger.info(u"PlexPy WebSocket :: Reconnecting websocket...")
|
||||||
ws.shutdown()
|
ws.shutdown()
|
||||||
ws_connected = False
|
ws_connected = False
|
||||||
threading.Thread(target=run).start()
|
threading.Thread(target=start_thread).start()
|
||||||
|
|
||||||
if not ws_connected and not ws_reconnect:
|
if not ws_connected and not ws_reconnect:
|
||||||
logger.error(u"PlexPy WebSocket :: Connection unavailable, falling back to polling.")
|
logger.error(u"PlexPy WebSocket :: Connection unavailable, falling back to polling.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue