From 10e9dc430c1f6209b062d2f329407e6da95354c7 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Fri, 13 Feb 2026 15:59:38 -0600 Subject: [PATCH] fix(notification): limited to 1000 max errors --- .../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 1c023bb..802f6ee 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, + data: errorLogData.splice(0, 1000), count: notifyData.notifiySettings.errorCount, time: notifyData.checkInterval, },