Repository navigation
Commit 264e9f9
committed
perf(server): stop measuring replay bytes once over budget
threadReplayEncodedBytes stringified every replay item even after crossing the 1MiB resume cap. Break early once over the limit. Totals under the cap stay exact, over-cap stays over-cap so resume still picks a snapshot.1 parent da8cc59 commit 264e9f9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
0 commit comments