diff options
Diffstat (limited to 'internal/cache/size.go')
-rw-r--r-- | internal/cache/size.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/cache/size.go b/internal/cache/size.go index 5bd99c3d8..758d191be 100644 --- a/internal/cache/size.go +++ b/internal/cache/size.go @@ -172,6 +172,8 @@ func totalOfRatios() float64 { return 0 + config.GetCacheAccountMemRatio() + config.GetCacheAccountNoteMemRatio() + + config.GetCacheAccountSettingsMemRatio() + + config.GetCacheAccountStatsMemRatio() + config.GetCacheApplicationMemRatio() + config.GetCacheBlockMemRatio() + config.GetCacheBlockIDsMemRatio() + @@ -179,17 +181,21 @@ func totalOfRatios() float64 { config.GetCacheClientMemRatio() + config.GetCacheEmojiMemRatio() + config.GetCacheEmojiCategoryMemRatio() + + config.GetCacheFilterMemRatio() + + config.GetCacheFilterKeywordMemRatio() + + config.GetCacheFilterStatusMemRatio() + config.GetCacheFollowMemRatio() + config.GetCacheFollowIDsMemRatio() + config.GetCacheFollowRequestMemRatio() + config.GetCacheFollowRequestIDsMemRatio() + - config.GetCacheInReplyToIDsMemRatio() + config.GetCacheInstanceMemRatio() + + config.GetCacheInReplyToIDsMemRatio() + config.GetCacheListMemRatio() + config.GetCacheListEntryMemRatio() + config.GetCacheMarkerMemRatio() + config.GetCacheMediaMemRatio() + config.GetCacheMentionMemRatio() + + config.GetCacheMoveMemRatio() + config.GetCacheNotificationMemRatio() + config.GetCachePollMemRatio() + config.GetCachePollVoteMemRatio() + |