Removed delay for repeated attempts
Some checks reported errors
autoBIGS.engine/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
autoBIGS.engine/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
96d715fdcb
commit
9fb4c995aa
@ -103,7 +103,6 @@ class RemoteBIGSdbMLSTProfiler(BIGSdbMLSTProfiler):
|
|||||||
except ConnectionError|ServerDisconnectedError as e: # Errors we will retry
|
except ConnectionError|ServerDisconnectedError as e: # Errors we will retry
|
||||||
last_error = e
|
last_error = e
|
||||||
success = False
|
success = False
|
||||||
await asyncio.sleep(5) # In case the connection issue is due to rate issues
|
|
||||||
else:
|
else:
|
||||||
success = True
|
success = True
|
||||||
if not success and last_error is not None:
|
if not success and last_error is not None:
|
||||||
@ -159,7 +158,6 @@ class RemoteBIGSdbMLSTProfiler(BIGSdbMLSTProfiler):
|
|||||||
except ConnectionError|ServerDisconnectedError as e:
|
except ConnectionError|ServerDisconnectedError as e:
|
||||||
last_error = e
|
last_error = e
|
||||||
success = False
|
success = False
|
||||||
await asyncio.sleep(5)
|
|
||||||
else:
|
else:
|
||||||
success = True
|
success = True
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user