Skip to content

Commit

Permalink
increase cooldown to avoid two instances to be started if only one is…
Browse files Browse the repository at this point in the history
… needed
  • Loading branch information
michaelwittig committed Mar 19, 2018
1 parent 3511f9b commit 2c0c027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecs/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,15 +1023,15 @@ Resources:
AdjustmentType: PercentChangeInCapacity
MinAdjustmentStep: 1
AutoScalingGroupName: !Ref AutoScalingGroup
Cooldown: 300
Cooldown: 600
ScalingAdjustment: 25
ScaleDownPolicy:
Type: 'AWS::AutoScaling::ScalingPolicy'
Properties:
AdjustmentType: PercentChangeInCapacity
MinAdjustmentStep: 1
AutoScalingGroupName: !Ref AutoScalingGroup
Cooldown: 300
Cooldown: 600
ScalingAdjustment: -25
ContainerInstancesShortageAlarm:
Type: 'AWS::CloudWatch::Alarm'
Expand Down

0 comments on commit 2c0c027

Please sign in to comment.