Be quicker to declare PMS offline
This commit is contained in:
parent
bdddc9ed5d
commit
202a795175
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue