remove old timeline package, add local timeline cache

This commit is contained in:
kim 2025-03-20 13:34:34 +00:00
commit 566e2b1d38
21 changed files with 105 additions and 2943 deletions

View file

@ -98,6 +98,7 @@ func (c *Caches) Init() {
c.initListIDs()
c.initListedIDs()
c.initListTimelines()
c.initLocalTimeline()
c.initMarker()
c.initMedia()
c.initMention()
@ -216,6 +217,7 @@ func (c *Caches) Sweep(threshold float64) {
c.Timelines.Home.Trim(threshold)
c.Timelines.List.Trim(threshold)
c.Timelines.Public.Trim(threshold)
c.Timelines.Local.Trim(threshold)
c.Visibility.Trim(threshold)
}