Skip to content

Commit 5edfb6f

Browse files
authored
Merge pull request #2319 from SalesforceCommerceCloud/back-merge-3.9.2
Merge 3.9.2 back to develop
2 parents 7de8580 + ad7401f commit 5edfb6f

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

packages/pwa-kit-dev/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## v3.10.0-dev (Feb 18, 2025)
22
- Support source map for both client and server on MRT [#240](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2240)
33

4+
## v3.9.2 (Mar 07, 2025)
5+
- Update PWA-Kit SDKs to v3.9.2 [#2304](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2304)
6+
47
## v3.9.1 (Mar 05, 2025)
58
- Update PWA-Kit SDKs to v3.9.1 [#2301](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2301)
69

packages/pwa-kit-react-sdk/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## v3.10.0-dev (Feb 18, 2025)
22
- Fix the performance logging util to use the correct delimiter for the server-timing header. [#2225](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2295)
33

4+
## v3.9.2 (Mar 07, 2025)
5+
- Update PWA-Kit SDKs to v3.9.2 [#2304](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2304)
6+
47
## v3.9.1 (Mar 05, 2025)
58
- Update PWA-Kit SDKs to v3.9.1 [#2301](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2301)
69

packages/pwa-kit-runtime/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## v3.10.0-dev (Feb 18, 2025)
22

3+
## v3.9.2 (Mar 08, 2025)
4+
- Disable CloudWatch metrics sender retries [#2304](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2304)
5+
36
## v3.9.1 (Mar 05, 2025)
47
- Update PWA-Kit SDKs to v3.9.1 [#2301](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2301)
58
- Remove forced garbage collection on each invocation. Set `FORCE_GC=true` for the old behavior. [#2285](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2285)

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ 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+
// Setting maxRetries to 0 will prevent the SDK from retrying.
57+
// This is necessary because under high load, there will be backpressure
58+
// on the Lambda function, and causing severe performance issues (400-500ms latency)
59+
maxRetries: 0
5660
})
5761
}
5862
return this._CW

0 commit comments

Comments
 (0)