Skip to content

Commit 69d5e6c

Browse files
authored
docs: update parallel-workloads-node-js.md
1 parent 7d2b8ac commit 69d5e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supplemental-docs/performance/parallel-workloads-node-js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ This can cause your application to time out or the Node.js process to exit with
145145

146146
```ts
147147
// example: response stream deadlock
148-
const s3 = new S3Client({
148+
const s3 = new S3({
149149
requestHandler: {
150150
httpsAgent: {
151151
maxSockets: 1,
@@ -174,7 +174,7 @@ In this example, reading of the body streams is done in a non-blocking way.
174174

175175
```ts
176176
// example: parallel streaming without deadlock
177-
const s3 = new S3Client({
177+
const s3 = new S3({
178178
requestHandler: {
179179
httpsAgent: {
180180
maxSockets: 1,

0 commit comments

Comments
 (0)