From 4c592e42e72f8a90bc08cdff7690f2714eb320bc Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 19:44:16 -0700 Subject: [PATCH] Transcript Incremental Projection Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/SessionCache.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Models/SessionCache.swift b/NucleicRemote/NucleicRemote/Models/SessionCache.swift index fa8b0f2..ed68dba 100644 --- a/NucleicRemote/NucleicRemote/Models/SessionCache.swift +++ b/NucleicRemote/NucleicRemote/Models/SessionCache.swift @@ -22,8 +22,9 @@ enum SessionCache { /// files) are pruned on every save so the cache stays bounded. private static let sessionLimit = 50 /// Keep the newest N events per session — the tail is what a returning reader wants, and it - /// bounds a long-running session's file. - private static let eventLimit = 1500 + /// bounds a long-running session's file. Internal (not private) so the background transcript + /// prefetch can bound a cold session's pull to the same window this cache would keep anyway. + static let eventLimit = 1500 // MARK: - Paths