Make logs view performant
This commit is contained in:
parent
21075cafb3
commit
8a27987798
3 changed files with 51 additions and 68 deletions
|
|
@ -21,7 +21,7 @@ export class LogLine {
|
|||
}
|
||||
|
||||
export class Logger {
|
||||
private static readonly MAX_MESSAGES = 10000;
|
||||
private static readonly MAX_MESSAGES = 2000;
|
||||
private readonly messages: LogLine[] = [];
|
||||
private readonly onMessageListeners: ((message: LogLine) => void)[] = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue