NextJS App - Task timed out after 10.02 seconds

Hi there,

I’ve upped the timeout for you, and your next deploy will activate it.

However, do your visitors really want to wait even 10 seconds for a page to load? We strongly recommend keeping your synchronous functions for which your users wait for the pageload to complete to < 10 seconds, and splitting out any “async possible” work into a background function (which your synchronous, foreground function can call):

You might also like to review this article about debugging long running functions since that would be a better fix for the long term, if you can’t use background functions: