Increase execution duration T3 w/ TRPC
How do I increase the execution limit so it doesn't time out at 10 seconds. I am using TRPC and the export maxDuration does not change it
8 Replies
pay vercel
Solution
ah I see
thanks!
wait I need a registered business to pay in Canada? 🗿
no idea
vercel baby
I'm still getting the error after transferring the project, this doesn't even make any sense why it's 15 but it still stops at 10
nvm I solved it, export const maxDuration needs to be in [trpc].ts
If you have a lot of long running things you should consider doing those outside of vercel. Something like sqs if it’s jobs of this kind maybe a good bet. https://aws.amazon.com/sqs/
Amazon Web Services, Inc.
Message Queuing Service - Amazon Simple Queue Service - AWS
Amazon SQS fully managed message queuing makes it easy to decouple
and scale microservices, distributed systems, and serverless applications.
yeah if it scales after initial customer testing I'll look into it, thanks
aws is too much for our needs currently