perf(logging): skip eager debug formatting in diagnostic

This commit is contained in:
Peter Steinberger
2026-02-15 03:25:07 +00:00
parent f832f3dcc3
commit 8189949549
2 changed files with 41 additions and 34 deletions

View File

@@ -27,7 +27,7 @@ describe("diagnostic session state pruning", () => {
});
it("caps tracked session states to a bounded max", () => {
for (let i = 0; i < 2105; i += 1) {
for (let i = 0; i < 2001; i += 1) {
logSessionStateChange({ sessionId: `session-${i}`, state: "idle" });
}