From 044080fee9d89fc9d9952512e5ff5dc11a9c50cd Mon Sep 17 00:00:00 2001 From: Matti Nannt Date: Sat, 23 Dec 2023 19:49:14 +0100 Subject: [PATCH] chore: increase batch size of weekly summary team calls (#1827) --- apps/web/app/api/cron/weekly_summary/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/api/cron/weekly_summary/route.ts b/apps/web/app/api/cron/weekly_summary/route.ts index dec5c3476b..d18f86ca95 100644 --- a/apps/web/app/api/cron/weekly_summary/route.ts +++ b/apps/web/app/api/cron/weekly_summary/route.ts @@ -8,7 +8,7 @@ import { CRON_SECRET } from "@formbricks/lib/constants"; import { sendNoLiveSurveyNotificationEmail, sendWeeklySummaryNotificationEmail } from "./email"; import { EnvironmentData, NotificationResponse, ProductData, Survey, SurveyResponse } from "./types"; -const BATCH_SIZE = 10; +const BATCH_SIZE = 500; export async function POST(): Promise { // Check authentication