Commit 618588c4 authored by Bozhidar Zhelev's avatar Bozhidar Zhelev

adding 1 sec sleep

parent c18c71b6
......@@ -130,6 +130,7 @@ class ASG():
max_attempts = 300
while len(self.asgs_healthy_instances(inactive_asg)) < scale_to['desired'] and attempts != max_attempts:
logging.info("Waiting for all instances to be healthy ...")
sleep(1)
attempts += 1
if attempts == max_attempts:
logging.info("Max timeout reached without success... Exiting!")
......
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