summaryrefslogtreecommitdiff
path: root/internal/cache/db.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-05-06 21:29:31 +0000
committerLibravatar GitHub <noreply@github.com>2024-05-06 22:29:31 +0100
commitf456bd3401859eb6ea15e48cc6e117c46703ffd1 (patch)
treebaf62f58214e7f9ddad82b9c6b2c151ca312dcac /internal/cache/db.go
parentupdate go-structr -> v0.8.2 which includes some minor memory usage improvemen... (diff)
downloadgotosocial-f456bd3401859eb6ea15e48cc6e117c46703ffd1.tar.xz
update the total ratios calculation to include ALL caches (previously was missing a few!) (#2907)
Diffstat (limited to 'internal/cache/db.go')
-rw-r--r--internal/cache/db.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/cache/db.go b/internal/cache/db.go
index d993d6143..4ce541770 100644
--- a/internal/cache/db.go
+++ b/internal/cache/db.go
@@ -148,15 +148,15 @@ type GTSCaches struct {
// Tag provides access to the gtsmodel Tag database cache.
Tag StructCache[*gtsmodel.Tag]
+ // ThreadMute provides access to the gtsmodel ThreadMute database cache.
+ ThreadMute StructCache[*gtsmodel.ThreadMute]
+
// Token provides access to the gtsmodel Token database cache.
Token StructCache[*gtsmodel.Token]
// Tombstone provides access to the gtsmodel Tombstone database cache.
Tombstone StructCache[*gtsmodel.Tombstone]
- // ThreadMute provides access to the gtsmodel ThreadMute database cache.
- ThreadMute StructCache[*gtsmodel.ThreadMute]
-
// User provides access to the gtsmodel User database cache.
User StructCache[*gtsmodel.User]