How to optimize or increase time limit for build of App Platform Function?

There doesn’t seem to be any documentation on it. I am trying to build my functions in the appPlatform for production but it errors out because of the “time limit” being 12000 milliseconds. This is because of my large google dependencies. How can I either optimize this or how do I increase the time limit to give the function more time to build?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey :)

i run into the same problem (with node) and started using a bundler in my actions, only shipping the bundled index.js file. maybe it has something to do with the zip/unzip process of the functions, but idk really. the documentation is pretty bad tbh.

if you are using js i can create an example repo if you want.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up