Skip to content

Commit bec1522

Browse files
committed
lower max function execution time to hobby limit of 60s
1 parent 8db94a3 commit bec1522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/photography/revalidate/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NextRequest, NextResponse } from "next/server";
22
import { revalidatePath } from "next/cache";
33

4-
export const maxDuration = 120; // This function can run for a maximum of 120 seconds
4+
export const maxDuration = 60; // This function can run for a maximum of 60 seconds
55

66
// Webhook: https://<your-site>/photography/revalidate?secret=<token>
77
export async function POST(request: NextRequest) {

0 commit comments

Comments
 (0)