Be quicker to declare PMS offline

This commit is contained in:
tomkat83 2016-12-17 13:05:10 +01:00
parent bdddc9ed5d
commit 202a795175

View file

@ -139,7 +139,7 @@ class WebSocket(threading.Thread):
log.info("Error connecting")
self.ws = None
counter += 1
if counter > 10:
if counter > 3:
log.warn("Repeatedly could not connect to PMS, "
"declaring the connection dead")
window('plex_online', value='false')