perf(aws-nodejs-typescript): reuse http connections

This commit is contained in:
Khaled Osman 2019-10-30 17:52:22 +01:00
parent 83cfbd25e8
commit cf81bcaca3

View File

@ -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: