Skip to content

Commit dfe7263

Browse files
authored
Increase latency evaluation period (#10360)
* Increase the article rendering app latency evalution period so we only scale up if latency is increased for 2.5 minutes * update snapshot
1 parent 85a7fb2 commit dfe7263

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
688688
},
689689
},
690690
],
691-
"EvaluationPeriods": 1,
691+
"EvaluationPeriods": 5,
692692
"MetricName": "TargetResponseTime",
693693
"Namespace": "AWS/ApplicationELB",
694694
"Period": 30,

dotcom-rendering/cdk/lib/renderingStack.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class RenderingCDKStack extends CDKStack {
175175
},
176176
],
177177
adjustmentType: AdjustmentType.PERCENT_CHANGE_IN_CAPACITY,
178-
evaluationPeriods: 1,
178+
evaluationPeriods: 5,
179179
},
180180
);
181181

0 commit comments

Comments
 (0)