From: xangelo Date: Fri, 29 Sep 2023 16:12:24 +0000 (-0400) Subject: fix: remove log of 0 events being flushed X-Git-Tag: v0.4.0~1 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=552c7444a7b178ba000dcd34a03cca80ca56b57e;p=risinglegends.git fix: remove log of 0 events being flushed --- 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); }