What is the formdata size limit on Railway?
Hi, I'm finding that when I make a POST request to an API route handler in NextJS with a multipart form data body of size ~35KB, the route handler's
await request.formData();
function call hangs and causes an eventual Gateway Timeout after about 1-2 mins. Everything works in dev btw. Does Railway have some sort of form data size limit? thanks!Solution:Jump to solution
there's no size limit, but there is a 5 minute time limit, though you said time-out after 2 minutes so you're not running into a limitation of railway here
3 Replies
Project ID:
1f768347-3ee3-4c04-a66f-a0d00a675d79
1f768347-3ee3-4c04-a66f-a0d00a675d79
Solution
there's no size limit, but there is a 5 minute time limit, though you said time-out after 2 minutes so you're not running into a limitation of railway here