Skip to content

Open-source status page, incident response and uptime monitoring

⌛ increase timeout (#864)

Thibault Le Ouayfade16c49c19
diff --git a/apps/web/src/app/api/trpc/lambda/[trpc]/route.ts b/apps/web/src/app/api/trpc/lambda/[trpc]/route.ts
index b36568088..d8f9098cf 100644
--- a/apps/web/src/app/api/trpc/lambda/[trpc]/route.ts
+++ b/apps/web/src/app/api/trpc/lambda/[trpc]/route.ts
@@ -7,6 +7,9 @@ import { lambdaRouter } from "@openstatus/api/src/lambda";
// Stripe is incompatible with Edge runtimes due to using Node.js events
// export const runtime = "edge";
+// We should understand why some requests are taking longer than 15s
+export const maxDuration = 120;
+
const handler = (req: NextRequest) =>
fetchRequestHandler({
endpoint: "/api/trpc/lambda",