Sleep 5s after declaring connection dead

This commit is contained in:
tomkat83 2016-11-12 17:47:58 +01:00
parent 1339ac2bc9
commit d65d9f0aba

View file

@ -143,7 +143,7 @@ class WebSocket(threading.Thread):
"declaring the connection dead")
window('plex_online', value='false')
counter = 0
xbmc.sleep(1000)
xbmc.sleep(5000)
except websocket.WebSocketTimeoutException:
log.info("timeout while connecting, trying again")
self.ws = None