Skip to content

Commit 09bfe05

Browse files
committed
raise to 2 hours
1 parent f2b6e12 commit 09bfe05

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cdk/lib/__snapshots__/senderworker.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ exports[`The Sender Worker stack matches the snapshot 1`] = `
708708
"Value": "other",
709709
},
710710
],
711-
"EvaluationPeriods": 4,
711+
"EvaluationPeriods": 8,
712712
"MetricName": "worker.notificationProcessingTime",
713713
"Namespace": "Notifications/PROD/workers",
714714
"OKActions": [
@@ -2496,7 +2496,7 @@ exports[`The Sender Worker stack matches the snapshot 1`] = `
24962496
"Value": "other",
24972497
},
24982498
],
2499-
"EvaluationPeriods": 4,
2499+
"EvaluationPeriods": 8,
25002500
"MetricName": "worker.notificationProcessingTime",
25012501
"Namespace": "Notifications/PROD/workers",
25022502
"OKActions": [

cdk/lib/senderworker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class SenderWorker extends Construct {
238238
alarmDescription: `Triggers if the ${id} sender lambda is not frequently invoked for non-breaking news notification in ${scope.stage}.`,
239239
comparisonOperator:
240240
ComparisonOperator.LESS_THAN_OR_EQUAL_TO_THRESHOLD,
241-
evaluationPeriods: 4,
241+
evaluationPeriods: 8, // 2 hours
242242
threshold: 0,
243243
metric: nonBreakingCountMetric,
244244
treatMissingData: TreatMissingData.BREACHING,

0 commit comments

Comments
 (0)