[SOLVED] Trouble with lambda timing out

From the timings, we see that the lambda -> DB -> response_prep takes about 1 second. However it just hangs and doesn’t return.

Nevermind, we solved it.

We were forgetting a single line:

‘context.callbackWaitsForEmptyEventLoop = false;’

1 Like