summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-10-15 13:32:02 +0200
committerLibravatar tobi <tobi.smethurst@protonmail.com>2025-10-17 15:33:35 +0200
commit2bdff66f0a12a16684e5d25bcace551446ec1c78 (patch)
tree4a667a71f97d6d2d52d5b3dae1e56d74192219b3 /internal/config/defaults.go
parent[chore/performance] Use CTE for list select statuses query (#4501) (diff)
downloadgotosocial-2bdff66f0a12a16684e5d25bcace551446ec1c78.tar.xz
[performance] cache account IDs in home timeline query not in exclusive lists (#4502)
this caches the stage of the home timeline query in which we calculate which account IDs should be shown in a particular user's timeline. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4502 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index e3e3c559c..a4996e5c6 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -200,6 +200,7 @@ var Defaults = Configuration{
FollowRequestMemRatio: 2,
FollowRequestIDsMemRatio: 2,
FollowingTagIDsMemRatio: 2,
+ HomeAccountIDsMemRatio: 2,
InReplyToIDsMemRatio: 3,
InstanceMemRatio: 1,
InteractionRequestMemRatio: 1,