further work rewriting timeline caching

This commit is contained in:
kim 2025-02-03 17:00:33 +00:00
commit 49d9a008d9
6 changed files with 230 additions and 327 deletions

View file

@ -215,6 +215,7 @@ func (c *Caches) Sweep(threshold float64) {
c.DB.UserMuteIDs.Trim(threshold)
c.Timelines.Home.Trim(threshold)
c.Timelines.List.Trim(threshold)
c.Timelines.Public.Trim(threshold)
c.Visibility.Trim(threshold)
}