From a03404faaaebbcc77b1dfc448e7f645e3fe9e78a Mon Sep 17 00:00:00 2001 From: Paul Cioanca Date: Tue, 10 Dec 2024 16:27:51 +0200 Subject: [PATCH] fix: use correct batch size param for pino-logflare (#600) --- src/internal/monitoring/logflare.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/monitoring/logflare.ts b/src/internal/monitoring/logflare.ts index b17f81b4..9ca0f331 100644 --- a/src/internal/monitoring/logflare.ts +++ b/src/internal/monitoring/logflare.ts @@ -22,7 +22,7 @@ export default function () { return createLogFlareWriteStream({ apiKey: logflareApiKey, sourceToken: logflareSourceToken, - batchMaxSize: 100, + size: 100, onError: (err: Error) => { console.error(`[Logflare][Error] ${err.message} - ${err.stack}`) },