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