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
No description
8 Replies
Neto
Neto3mo ago
pay vercel
Solution
Neto
Neto3mo ago
No description
Andrew
Andrew3mo ago
ah I see thanks! wait I need a registered business to pay in Canada? 🗿
Neto
Neto3mo ago
no idea vercel baby
Andrew
Andrew3mo ago
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
No description
Andrew
Andrew3mo ago
nvm I solved it, export const maxDuration needs to be in [trpc].ts
Yiannis
Yiannis3mo ago
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.
Andrew
Andrew3mo ago
yeah if it scales after initial customer testing I'll look into it, thanks aws is too much for our needs currently
Want results from more Discord servers?
Add your server
More Posts