From 202a795175c8db2d217622751bd0fa188323fa0a Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 17 Dec 2016 13:05:10 +0100 Subject: [PATCH] Be quicker to declare PMS offline --- resources/lib/websocket_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/websocket_client.py b/resources/lib/websocket_client.py index 6893effa..908ee45d 100644 --- a/resources/lib/websocket_client.py +++ b/resources/lib/websocket_client.py @@ -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')