Connection reuse
Be sure to set the following environment variable when connecting to AWS services:
AWS_NODEJS_CONNECTION_REUSE_ENABLED=1
This allows you to reuse the first connection established across lambda invocations.
Be sure to set the following environment variable when connecting to AWS services:
AWS_NODEJS_CONNECTION_REUSE_ENABLED=1
This allows you to reuse the first connection established across lambda invocations.