Declare PMS connection dead on first failed connection

This commit is contained in:
Croneter 2018-06-01 18:48:45 +02:00
parent a6881a8a32
commit a4273c6c6e

View file

@ -32,7 +32,7 @@ class DownloadUtils():
_shared_state = {}
# How many failed attempts before declaring PMS dead?
connectionAttempts = 2
connectionAttempts = 1
# How many 401 returns before declaring unauthorized?
unauthorizedAttempts = 2
# How long should we wait for an answer from the