diff --git a/web/src/app/(app)/share/[share_id]/page.tsx b/web/src/app/(app)/share/[share_id]/page.tsx index 5402aca..98ee895 100644 --- a/web/src/app/(app)/share/[share_id]/page.tsx +++ b/web/src/app/(app)/share/[share_id]/page.tsx @@ -24,6 +24,8 @@ import { auth, clerkClient } from "@clerk/nextjs/server"; import { eq } from "drizzle-orm"; import { redirect } from "next/navigation"; +export const maxDuration = 300; // 5 minutes + export default async function Page({ params, }: { diff --git a/web/src/app/(app)/workflows/[workflow_id]/page.tsx b/web/src/app/(app)/workflows/[workflow_id]/page.tsx index 60daeb6..748cefb 100644 --- a/web/src/app/(app)/workflows/[workflow_id]/page.tsx +++ b/web/src/app/(app)/workflows/[workflow_id]/page.tsx @@ -1,6 +1,8 @@ import { findWorkflowById } from "@/server/findFirstTableWithVersion"; import { redirect } from "next/navigation"; +export const maxDuration = 300; // 5 minutes + export default async function Page({ params, }: {