implement new timeline code into more areas of codebase, pull in latest go-mangler, go-mutexes, go-structr

This commit is contained in:
kim 2025-03-20 13:15:25 +00:00
commit 4803ae6bad
5 changed files with 82 additions and 86 deletions

View file

@ -32,9 +32,6 @@ type TimelineCaches struct {
// Public ...
Public timeline.StatusTimeline
// Local ...
Local timeline.StatusTimeline
}
func (c *Caches) initHomeTimelines() {
@ -60,11 +57,3 @@ func (c *Caches) initPublicTimeline() {
c.Timelines.Public.Init(cap)
}
func (c *Caches) initLocalTimeline() {
cap := 1000
log.Infof(nil, "cache size = %d", cap)
c.Timelines.Local.Init(cap)
}