Cloud Function finished with status: 'timeout'"

久未见 提交于 2020-01-06 06:44:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!