问题
In Firebase console, the last Event message in Functions/Log section is "Function execution took 60006 ms, finished with status: 'timeout'". Is "timeout" the status the function is supposed to finish with? Or did I miss something in the code that would say "that's the end"?
回答1:
You should send a response like res.send(200) at the end for it to terminate properly
来源:https://stackoverflow.com/questions/57211842/cloud-function-finished-with-status-timeout