summaryrefslogtreecommitdiff
path: root/internal/cache/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/cache.go')
-rw-r--r--internal/cache/cache.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/cache/cache.go b/internal/cache/cache.go
index bb910f3e6..5a8a92ca3 100644
--- a/internal/cache/cache.go
+++ b/internal/cache/cache.go
@@ -73,6 +73,7 @@ func (c *Caches) Init() {
c.initFollowRequestIDs()
c.initInReplyToIDs()
c.initInstance()
+ c.initInteractionApproval()
c.initList()
c.initListEntry()
c.initMarker()
@@ -145,6 +146,7 @@ func (c *Caches) Sweep(threshold float64) {
c.GTS.FollowRequestIDs.Trim(threshold)
c.GTS.InReplyToIDs.Trim(threshold)
c.GTS.Instance.Trim(threshold)
+ c.GTS.InteractionApproval.Trim(threshold)
c.GTS.List.Trim(threshold)
c.GTS.ListEntry.Trim(threshold)
c.GTS.Marker.Trim(threshold)