maxDuration with custom routes configuration in remix. #7239
Replies: 1 comment
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello! I'm trying to set a
maxDuration
limit, but I'm using a custom routes configuration in Remix, and it isn't working.This is my root.tsx
Reference: https://remix.run/docs/en/main/discussion/routes#manual-route-configuration
Despite setting the maxDuration to 60 seconds, the limit on Vercel remains at 15 seconds.
Could you please help me understand why the custom configuration is not being applied and how I can fix this?
Obs: I'm not using @vercel/remix plugin.
Thank you!
Example
No response
Steps to Reproduce
1 - Export an object called config in root.tsx with maxDuration set to 60:
2 - Deploy to vercel
Beta Was this translation helpful? Give feedback.
All reactions