Commit 821f1ae
committed
Reduce Loki maxLines from 5000 to 500 to fix browser freezing
React performance violations in browser console show JavaScript
blocking the main thread while processing log data:
- 'message' handler took 206ms
- Forced reflow took 33ms
- 'focusout' handler took 150ms
Root cause: Grafana trying to render too many log lines at once
causes React components to block the browser UI thread.
Solution: Limit to 500 lines (down from 5000) to reduce data
processing and rendering load in the browser.1 parent 60d7d34 commit 821f1ae
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
0 commit comments