Home
/
risinglegends.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be0160
)
fix: remove log of 0 events being flushed
author
xangelo
<me@xangelo.ca>
Fri, 29 Sep 2023 16:12:24 +0000
(12:12 -0400)
committer
xangelo
<me@xangelo.ca>
Fri, 29 Sep 2023 16:12:24 +0000
(12:12 -0400)
src/server/events.ts
patch
|
blob
|
history
diff --git
a/src/server/events.ts
b/src/server/events.ts
index f5a630d54fa12234d654cd92b5f83096e04a433c..df0b8194c90cec1be6a7267c7a53b1c26d3a3648 100644
(file)
--- 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);
}