From b96c546ed3ac778efbb73197291478d7fab4aa9a Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Mon, 16 Feb 2026 09:38:31 -0600 Subject: [PATCH] refactor(notify): changed to only allow max 100 errors in the email --- .../notifications/controller/notifications/tooManyErrors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lstV2/server/services/notifications/controller/notifications/tooManyErrors.ts b/lstV2/server/services/notifications/controller/notifications/tooManyErrors.ts index 802f6ee..e97c9b8 100644 --- a/lstV2/server/services/notifications/controller/notifications/tooManyErrors.ts +++ b/lstV2/server/services/notifications/controller/notifications/tooManyErrors.ts @@ -70,7 +70,7 @@ export default async function tooManyErrors(notifyData: any) { } ${errorLogData.length > 1 ? "errors" : "error"} in the last ${notifyData.checkInterval} min`, template: "tooManyErrors", context: { - data: errorLogData.splice(0, 1000), + data: errorLogData.slice(0, 100), count: notifyData.notifiySettings.errorCount, time: notifyData.checkInterval, },