From 8a6ff1631aa82f11b9823d5722997303fecad270 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 7 Apr 2025 17:49:04 +0100 Subject: [PATCH] add important note --- internal/cache/timeline/status.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/cache/timeline/status.go b/internal/cache/timeline/status.go index de92c5768..4136fbf64 100644 --- a/internal/cache/timeline/status.go +++ b/internal/cache/timeline/status.go @@ -380,6 +380,12 @@ func (t *StatusTimeline) Load( dir, ) + // TODO: in time, we should think about (dynamically?) preloading + // the timelines, and any page requests outside of the cached + // range go straight to the database. otherwise there's peculiarities + // that may arise due to concurrent new and old range inserts, also + // requests for old page ranges are almost always going to be one-off. + // We now reset the lo,hi values to // represent the lowest and highest // index values of loaded statuses.