# NextJS ISR doesn't work, ERROR Task timed out after 10.01 seconds

**URL:** <https://answers.netlify.com/t/nextjs-isr-doesnt-work-error-task-timed-out-after-10-01-seconds/88580>\
**Category:** Support\
**Tags:** nextjs\
**Created:** [March 26, 2023, 9:19pm UTC](https://answers.netlify.com/t/nextjs-isr-doesnt-work-error-task-timed-out-after-10-01-seconds/88580 "2023-03-26T21:19:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [March 27, 2023, 11:44pm UTC](https://answers.netlify.com/t/nextjs-isr-doesnt-work-error-task-timed-out-after-10-01-seconds/88580/2 "2023-03-27T23:44:39Z")

</div>

Hi Edward!

I think you’re already trying the pro trial out, so we can extend your functions timeout if you want - up to 26 seconds max. Let me know which site you’d like that set on, if you want to try it!

However, we really recommend that you instead optimize your functions so they run faster in the first place 🙂 This guide has some good suggestions:

> [@\[Support Guide\] Why is my function taking long or timing out?](https://answers.netlify.com/t/support-guide-why-is-my-function-taking-long-or-timing-out/71689):
>
> In this guide, we’ll be talking about synchronous functions. We won’t be covering Edge Functions or Background Functions since those are not bound by the same limits as standard synchronous functions or Scheduled Functions are. Netlify Functions are a core feature of our product. By delegating your server-side logic to them, you leverage serverless functions that are [version-controlled, built, and deployed along with the rest of your Netlify site](https://docs.netlify.com/functions/overview/). However, [there are some limitations on functio…](https://docs.netlify.com/functions/overview/#default-deployment-options)

Take a look and let me know what you think.

---

_[View the full topic](https://answers.netlify.com/t/nextjs-isr-doesnt-work-error-task-timed-out-after-10-01-seconds/88580)._
