mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-01 18:18:34 +02:00
Update socket.py
This commit is contained in:
parent
43039f85c4
commit
430156d289
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue