From 552c7444a7b178ba000dcd34a03cca80ca56b57e Mon Sep 17 00:00:00 2001 From: xangelo Date: Fri, 29 Sep 2023 12:12:24 -0400 Subject: [PATCH] fix: remove log of 0 events being flushed --- src/server/events.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/server/events.ts b/src/server/events.ts index f5a630d..df0b819 100644 --- a/src/server/events.ts +++ b/src/server/events.ts @@ -15,9 +15,6 @@ export async function flushBuffer() { await addEvents(events); logger.log(`Flushed ${events.length} events`); } - else { - logger.log('No events to flush'); - } setTimeout(flushBuffer, EVENT_FLUSH_INTERVAL); } -- 2.25.1