Update socket.py

This commit is contained in:
zandercymatics 2023-11-14 14:35:47 -07:00
parent 43039f85c4
commit 430156d289
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -78,7 +78,7 @@ class Socket:
self.client.connect()
response = self.client.send(self.login)
except LoginError as err:
if err.should_retry() and counter < 3:
if err.should_retry() and counter < 10:
counter += 1
sleep((counter * 50) / 1000) # sleep 50 ms to 150 ms
else: # don't try again