Openstatus www.openstatus.dev

⌛ increase timeout (#864)

authored by

Thibault Le Ouay and committed by
GitHub
fade16c4 7e87ccb0

+3
+3
apps/web/src/app/api/trpc/lambda/[trpc]/route.ts
··· 7 7 // Stripe is incompatible with Edge runtimes due to using Node.js events 8 8 // export const runtime = "edge"; 9 9 10 + // We should understand why some requests are taking longer than 15s 11 + export const maxDuration = 120; 12 + 10 13 const handler = (req: NextRequest) => 11 14 fetchRequestHandler({ 12 15 endpoint: "/api/trpc/lambda",