fix: remove log of 0 events being flushed
authorxangelo <me@xangelo.ca>
Fri, 29 Sep 2023 16:12:24 +0000 (12:12 -0400)
committerxangelo <me@xangelo.ca>
Fri, 29 Sep 2023 16:12:24 +0000 (12:12 -0400)
src/server/events.ts

index f5a630d54fa12234d654cd92b5f83096e04a433c..df0b8194c90cec1be6a7267c7a53b1c26d3a3648 100644 (file)
@@ -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);
 }