Skip to content

Commit

Permalink
fix: remove CONNECTION_REUSE env variable (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
perpil authored Mar 14, 2024
1 parent 831e623 commit b383ef4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions src/llrt-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class LlrtFunction extends NodejsFunction {

const cacheDir = `.tmp/llrt/${version}/${arch}`;
super(scope, id, {
awsSdkConnectionReuse: false,
...props,
bundling: {
target: 'es2020',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@
"Arn"
]
},
"Environment": {
"Variables": {
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
}
},
"Handler": "index.handler",
"Runtime": "provided.al2023"
},
Expand Down

0 comments on commit b383ef4

Please sign in to comment.