diff options
author | 2023-08-04 12:28:33 +0100 | |
---|---|---|
committer | 2023-08-04 12:28:33 +0100 | |
commit | 9a291dea843448f78b4b98ea6813739aebe708c6 (patch) | |
tree | f1ce643a3c9fe1b13e4c107f15b1ac4b20fe5b86 /internal/config/defaults.go | |
parent | [feature] simpler cache size configuration (#2051) (diff) | |
download | gotosocial-9a291dea843448f78b4b98ea6813739aebe708c6.tar.xz |
[performance] add caching of status fave, boost of, in reply to ID lists (#2060)
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r-- | internal/config/defaults.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go index e740d1c98..2bc95f6f1 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -149,12 +149,14 @@ var Defaults = Configuration{ AccountNoteMemRatio: 0.1, BlockMemRatio: 3, BlockIDsMemRatio: 3, + BoostOfIDsMemRatio: 3, EmojiMemRatio: 3, EmojiCategoryMemRatio: 0.1, FollowMemRatio: 4, FollowIDsMemRatio: 4, FollowRequestMemRatio: 2, FollowRequestIDsMemRatio: 2, + InReplyToIDsMemRatio: 3, InstanceMemRatio: 1, ListMemRatio: 3, ListEntryMemRatio: 3, @@ -165,6 +167,7 @@ var Defaults = Configuration{ ReportMemRatio: 1, StatusMemRatio: 18, StatusFaveMemRatio: 5, + StatusFaveIDsMemRatio: 3, TagMemRatio: 3, TombstoneMemRatio: 2, UserMemRatio: 0.1, |