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:"Waiting for all instances to be healthy ...")
attempts += 1
if attempts == max_attempts:"Max timeout reached without success... Exiting!")
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment