From 2088a86eb8b1727d6cf494b1b69a49c75f46e246 Mon Sep 17 00:00:00 2001
From: Primo <aaalsaye@stud.ntnu.no>
Date: Sat, 6 Nov 2021 08:38:46 +0100
Subject: [PATCH] Reduced scaling cooldown

---
 autoscaling.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autoscaling.yaml b/autoscaling.yaml
index 9c075fe..fcea8ae 100644
--- a/autoscaling.yaml
+++ b/autoscaling.yaml
@@ -79,14 +79,14 @@ resources:
     properties:
       adjustment_type: change_in_capacity
       auto_scaling_group_id: {get_resource: asg}
-      cooldown: 60
+      cooldown: 10
       scaling_adjustment: 1
   web_server_scaledown_policy:
     type: OS::Heat::ScalingPolicy
     properties:
       adjustment_type: change_in_capacity
       auto_scaling_group_id: {get_resource: asg}
-      cooldown: 60
+      cooldown: 10
       scaling_adjustment: -1
   lb:
     type: OS::Octavia::LoadBalancer
-- 
GitLab