add important note

This commit is contained in:
kim 2025-04-07 17:49:04 +01:00
parent 38003b7134
commit 6a8cc5b360

View file

@ -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.