attempt to fix timeout issues

This commit is contained in:
bennykok 2024-01-27 12:25:53 +08:00
parent 18c410ba4e
commit f4d93a82e2
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
export const maxDuration = 300; // 5 minutes
export default async function Layout({
children,
deployment,

View File

@ -6,6 +6,8 @@ import { usersTable } from "@/db/schema";
import { auth } from "@clerk/nextjs";
import { eq } from "drizzle-orm";
export const maxDuration = 300; // 5 minutes
export default function Home() {
return <WorkflowServer />;
}