fix: increase connection refused
This commit is contained in:
@@ -152,7 +152,7 @@ class LibrespotClient:
|
|||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
last_exc = exc
|
last_exc = exc
|
||||||
if attempt < 3:
|
if attempt < 3:
|
||||||
time.sleep(1)
|
time.sleep(3)
|
||||||
else:
|
else:
|
||||||
raise last_exc
|
raise last_exc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user