Skip to content

Commit 48fb126

Browse files
committed
update cloudwatch sender maxRetries to 0
1 parent c31cd50 commit 48fb126

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/pwa-kit-runtime/src/utils/ssr-server/metrics-sender.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ export class MetricsSender {
5252
apiVersion: '2010-08-01',
5353
// The AWS_REGION variable is defined by the Lambda
5454
// environment.
55-
region: process.env.AWS_REGION || 'us-east-1'
55+
region: process.env.AWS_REGION || 'us-east-1',
56+
maxRetries: 0
5657
})
5758
}
5859
return this._CW

0 commit comments

Comments
 (0)