Skip to content
Snippets Groups Projects
Commit 927427ff authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Add timeout to connection testing

parent 99808ed6
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ def process_request(output_queue, config=None, logger=None):
if logger is not None:
logger.warn("Didn't reach server at {} for {} attempts: ".format(url, attempts, e))
attempts += 1
time.sleep(6)
else:
time.sleep(0.01)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment