mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 00:22:25 -05:00
add important note
This commit is contained in:
parent
e762577179
commit
8a6ff1631a
1 changed files with 6 additions and 0 deletions
6
internal/cache/timeline/status.go
vendored
6
internal/cache/timeline/status.go
vendored
|
|
@ -380,6 +380,12 @@ func (t *StatusTimeline) Load(
|
||||||
dir,
|
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
|
// We now reset the lo,hi values to
|
||||||
// represent the lowest and highest
|
// represent the lowest and highest
|
||||||
// index values of loaded statuses.
|
// index values of loaded statuses.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue