tRPCttRPC
Powered by
VengeanceV
tRPC•3y ago•
2 replies
Vengeance

Vercel maxDuration with tRPC

How do you extend extend tRPC timeouts on Vercel? I tried this in
vercel.json
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
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

ECONNREFUSED with TRPC call on Vercel
xdxd#5555 / hanyaXxdxd#5555 / hanya / ❓-help
3y ago
Skew protection Vercel TRPC
azteca69Aazteca69 / ❓-help
15mo ago
Fastify + TRPC on Vercel
brumbrum_brumBbrumbrum_brum / ❓-help
2y ago
Running TRPC on Vercel with custom serialization fails
AlexAAlex / ❓-help
3y ago