From c779491499cdef55bce92571d3144a5e6bd3af95 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 12 Nov 2016 17:50:45 +0100 Subject: [PATCH] Revert "Sleep 5s after declaring connection dead" This reverts commit d65d9f0abad28cd653da395ed5f68361929bd725. --- resources/lib/websocket_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/websocket_client.py b/resources/lib/websocket_client.py index f2857124..b0a6512e 100644 --- a/resources/lib/websocket_client.py +++ b/resources/lib/websocket_client.py @@ -143,14 +143,14 @@ class WebSocket(threading.Thread): "declaring the connection dead") window('plex_online', value='false') counter = 0 - xbmc.sleep(5000) + xbmc.sleep(1000) except websocket.WebSocketTimeoutException: log.info("timeout while connecting, trying again") self.ws = None xbmc.sleep(1000) except Exception as e: log.error("Unknown exception encountered in connecting: %s" - % e) + % e) self.ws = None xbmc.sleep(1000) else: