You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'm not sure if you're familiar with the Supastarter template, but I used it to set up a Next.js project. The root directory contains an [apps] folder for frontend code and a [packages] folder for API code. I deployed the project on Vercel via CI/CD. However, I'm encountering a 504 timeout error when calling the API. I understand that the default maximum duration for Pro users is 15 seconds, and despite numerous attempts to change this limit, such as adding a vercel.json file with a maxDuration setting, nothing seems to work. Could you please advise on how to resolve this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
'm not sure if you're familiar with the Supastarter template, but I used it to set up a Next.js project. The root directory contains an [apps] folder for frontend code and a [packages] folder for API code. I deployed the project on Vercel via CI/CD. However, I'm encountering a 504 timeout error when calling the API. I understand that the default maximum duration for Pro users is 15 seconds, and despite numerous attempts to change this limit, such as adding a
vercel.json
file with amaxDuration
setting, nothing seems to work. Could you please advise on how to resolve this issue?Here's the documentation for Supastarter, which provides more details on the project structure. https://docs.supastarter.dev/nextjs/structure
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions