mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
perf(aws-nodejs-typescript): reuse http connections
This commit is contained in:
parent
83cfbd25e8
commit
cf81bcaca3
@ -17,6 +17,8 @@ provider:
|
||||
runtime: nodejs10.x
|
||||
apiGateway:
|
||||
minimumCompressionSize: 1024 #Enable gzip compression for responses > 1KB
|
||||
environment:
|
||||
AWS_NODEJS_CONNECTION_REUSE_ENABLED: 1
|
||||
|
||||
functions:
|
||||
hello:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user