From c2c106e029ad6d91c6ab436e4876d009f2ed1280 Mon Sep 17 00:00:00 2001 From: Nazim Gafarov Date: Sat, 21 Dec 2024 17:03:45 +0300 Subject: [PATCH] max duration --- app/api/cron/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/cron/route.ts b/app/api/cron/route.ts index 427a18c..f143235 100644 --- a/app/api/cron/route.ts +++ b/app/api/cron/route.ts @@ -3,6 +3,7 @@ import prisma from "@/prisma" import { getMysqlClient } from "@/prisma/mysql" import { NextResponse } from "next/server" +export const maxDuration = 60 export const revalidate = 900 export async function GET() {