Skip to content

Commit 9803462

Browse files
authored
Merge pull request #969 from AlisProject/ALIS-4886
ALIS-4886: Add parameter of callbackWaitsForEmptyEventLoop.
2 parents 2afd57c + 0ccae23 commit 9803462

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/handler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module.exports.handler = (event, context, callback) => {
2525
body: '',
2626
isBase64Encoded: false
2727
}
28+
// 待機中のイベントがあっても処理を中断
29+
context.callbackWaitsForEmptyEventLoop = false
2830
callback(null, response)
2931
} else {
3032
awsServerlessExpress.proxy(server, event, context)

0 commit comments

Comments
 (0)