Add more Live Event refreshing (#9745)

* Refresh on foreground

* Add back interval
This commit is contained in:
Eric Bailey
2026-01-24 13:39:55 -06:00
committed by GitHub
parent 49e7a96cd9
commit 3b7806963a
3 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export class MetricsClient<M extends Record<string, any>> {
}
this.queue.push(e)
logger.info(`event: ${e.event as string}`, e)
logger.debug(`event: ${e.event as string}`, e)
if (this.queue.length > this.maxBatchSize) {
this.flush()