Skip to content

Commit c6db32a

Browse files
committed
Wait for 30s after suspending ASG processes
1 parent a71c45a commit c6db32a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/autoscaling.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ func (a *autoScalingGroup) suspendProcesses() {
684684
if err != nil {
685685
log.Printf("couldn't suspend processes on ASG %s ", a.name)
686686
}
687+
time.Sleep(30 * time.Second * a.region.conf.SleepMultiplier)
687688
}
688689

689690
func (a *autoScalingGroup) resumeProcesses() {

0 commit comments

Comments
 (0)