From d5e0defc8b76bf3f30cd949d296975bcb015a82f Mon Sep 17 00:00:00 2001 From: Stanley Chin Date: Wed, 30 Oct 2024 14:51:31 -0400 Subject: [PATCH] Better msg --- packages/core/src/tools/create-lambda-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/tools/create-lambda-handler.js b/packages/core/src/tools/create-lambda-handler.js index 1acc0fcd9..a2a115bff 100644 --- a/packages/core/src/tools/create-lambda-handler.js +++ b/packages/core/src/tools/create-lambda-handler.js @@ -190,7 +190,7 @@ const createLambdaHandler = (appRawOrPath) => { // This is not strictly necessary since this is the default now when // using the callback; just putting it here to be explicit. // In some cases, the code hangs and never exits because the event loop is not - // empty. + // empty, so we can override the default behavior and exit after the app is done. context.callbackWaitsForEmptyEventLoop = event.waitForAsyncBeforeExit ?? true;