• On Pro and Enterprise plans, with fluid compute enabled, you can configure a maximum duration up to 800 s (~13 minutes). "
i only need to buy? or do i need to activate anywhere
• On Pro and Enterprise plans, with fluid compute enabled, you can configure a maximum duration up to 800 s (~13 minutes). "
i only need to buy? or do i need to activate anywhere
Yes, that’s correct! On Pro and Enterprise plans, you can increase the function timeout beyond the 5-second limit.
Here’s what you need to do:
You can configure the timeout in your vercel.json file:
{ "functions": { "app/api/long-running-function/route.ts": { "maxDuration": 300 } } }
Or for all functions:
{ "functions": { "app/api/**/route.ts": { "maxDuration": 300 } } }
The timeout is specified in seconds, so 300 = 5 minutes, 800 = ~13 minutes.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.