`console.log` is synchronous and should be avoided in production - here is an explanation why: https://nodejs.org/docs/latest-v6.x/api/process.html#process_a_note_on_process_i_o Probably getting rid of console.log might help to fix unexpected slow-downs on Lambdas.
console.logis synchronous and should be avoided in production - here is an explanation why: https://nodejs.org/docs/latest-v6.x/api/process.html#process_a_note_on_process_i_oProbably getting rid of console.log might help to fix unexpected slow-downs on Lambdas.