fix: updated the maxDuration once again to 5 due to Vercel error
This commit is contained in:
1 parent
e3e123a5fa
commit
c2219d12fa
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user