Skip to content

Commit 6e3e661

Browse files
authored
chore: add timeout for link checker (#6172)
1 parent f9770c1 commit 6e3e661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/fern-dashboard/src/app/api/link-checker/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import type { LinkCheckProgress } from "./types";
77

88
export const runtime = "nodejs";
99
export const dynamic = "force-dynamic";
10+
export const maxDuration = 480; // 8 minutes - link checking can be slow for large sites
1011

1112
export async function GET(req: NextRequest) {
1213
const session = await getCurrentSession();

0 commit comments

Comments
 (0)