Vengeance
Vengeance8mo ago

Vercel maxDuration with tRPC

How do you extend extend tRPC timeouts on Vercel? I tried this in vercel.json:
{
"functions": {
"api/trpc/[trpc].ts": {
"maxDuration": 300
}
}
}
{
"functions": {
"api/trpc/[trpc].ts": {
"maxDuration": 300
}
}
}
Solution:
Nvm I got it
src/pages/api/trpc/[trpc].ts
src/pages/api/trpc/[trpc].ts
...
Jump to solution
1 Reply
Solution
Vengeance
Vengeance8mo ago
Nvm I got it
src/pages/api/trpc/[trpc].ts
src/pages/api/trpc/[trpc].ts