remove local / public caches (is out of scope for this work), share more timeline code

This commit is contained in:
kim 2025-04-03 13:51:47 +01:00
commit 227d6edc3e
10 changed files with 256 additions and 180 deletions

View file

@ -57,8 +57,8 @@ func (p *Processor) publicTimelineGet(
// account.
requester,
// Keyed-by-account-ID, public timeline cache.
p.state.Caches.Timelines.Public.MustGet(requester.ID),
// No cache.
nil,
// Current
// page.
@ -106,8 +106,8 @@ func (p *Processor) localTimelineGet(
// account.
requester,
// Keyed-by-account-ID, local timeline cache.
p.state.Caches.Timelines.Local.MustGet(requester.ID),
// No cache.
nil,
// Current
// page.