Unverified Commit a1f453eb authored by Dan Jones's avatar Dan Jones
Browse files

fix: move log message before retry sleep

2 merge requests!23Resolve "Release v0.1.0",!13Resolve "Detect new clients and add to thread pool"
Pipeline #107768 failed with stages
in 22 seconds
......@@ -183,11 +183,11 @@ if __name__ == "__main__":
s.connect(("rmq", 5672))
isreachable = True
except socket.error as e:
logging.info(f"RabbitMQ unavailable: retrying in {interval}s")
time.sleep(interval)
pingcounter += 1
s.close()
logging.info(f"RabbitMQ unavailable: retrying in {interval}s")
try:
with concurrent.futures.ProcessPoolExecutor() as executor:
main(executor)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment