Reputation: 41
I using NodeJS to export large excel data around 400k rows in local machine took 2 minutes + only. However, after I deploy to Google cloud function, it stuck on commit file until function is timeout. I have no idea why in my local machine is fast but google function will timeout.
This is result from local machine enter image description here
This is result log on google cloud enter image description here
I using google cloud function generation 1 with RAM 8.
Upvotes: 1
Views: 332
Reputation: 41
Finally I found the solution. But I dont know why the problem is this. Maybe is library issues?
Change .then
function to await
New Result (commit within 5 sec)
Upvotes: 1