From b22e213e15a7bc64773e626d76305bd860e6301c Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:18:57 +0100 Subject: [feature/chore] Add Move database functions + cache (#2647) * [feature/chore] Add Move database functions + cache * add move mem ratio to envparsing.sh * update comment --- internal/cache/cache.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/cache/cache.go') diff --git a/internal/cache/cache.go b/internal/cache/cache.go index 9b70a565c..e2fe43a1f 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -75,6 +75,7 @@ func (c *Caches) Init() { c.initMarker() c.initMedia() c.initMention() + c.initMove() c.initNotification() c.initPoll() c.initPollVote() @@ -135,6 +136,7 @@ func (c *Caches) Sweep(threshold float64) { c.GTS.Marker.Trim(threshold) c.GTS.Media.Trim(threshold) c.GTS.Mention.Trim(threshold) + c.GTS.Move.Trim(threshold) c.GTS.Notification.Trim(threshold) c.GTS.Poll.Trim(threshold) c.GTS.Report.Trim(threshold) -- cgit v1.2.3