I\'m using two lambda functions with Javascript\'s 4.3 runtime. I run the first and it calls the second synchronously (sync is the intent). Problem is the second one times o
As Michael - sqlbot said; the issue seems to be that as long as there is an open connection, because of the non empty event loop, calling the callback doesn't terminate the function. Had the same problem with a open Redis connection; solution as stated is context.callbackWaitsForEmptyEventLoop = false;
At least for redis conenctions it helps to quit the connection to redis in order to let Lambda finish the job properly.