fix: updated the maxDuration once again to 5 due to Vercel error

This commit is contained in:
Leon Xu committed 2023-12-30 17:37:17 -08:00
1 parent e3e123a5fa
commit c2219d12fa
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import Product from '@/lib/models/product.model';
import { scrapeAmazonProduct } from '@/lib/scraper';
import { generateEmailBody, sendEmail } from "@/lib/nodemailer";
export const maxDuration = 60; // This function can run for a maximum of 300 seconds
export const maxDuration = 5; // This function can run for a maximum of 300 seconds
export const dynamic = "force-dynamic";
export const revalidate = 0;