frontend: reduce DOM node creation on very fast logstreams and cap to 1k loglines

This commit is contained in:
Johannes Zellner
2024-07-22 23:55:47 +02:00
parent b26ff08a3c
commit d96f132dc0
2 changed files with 28 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ function ab2str(buf) {
}
export function create(origin, accessToken, type, id) {
const INITIAL_STREAM_LINES = 100;
const INITIAL_STREAM_LINES = 1000;
let eventSource = null;