summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-08-10 15:08:41 +0100
committerLibravatar GitHub <noreply@github.com>2023-08-10 15:08:41 +0100
commit91cbcd589e7c4ab87e5994e4d0276ea1248dc5c2 (patch)
treea6b12c30168eb5fed4267dcb6a1f385b86afdcdf /internal/config/defaults.go
parent[feature] List replies policy, refactor async workers (#2087) (diff)
downloadgotosocial-91cbcd589e7c4ab87e5994e4d0276ea1248dc5c2.tar.xz
[performance] remove last of relational queries to instead rely on caches (#2091)
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 2bc95f6f1..b78362973 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -147,6 +147,7 @@ var Defaults = Configuration{
// be able to make some more sense :D
AccountMemRatio: 18,
AccountNoteMemRatio: 0.1,
+ ApplicationMemRatio: 0.1,
BlockMemRatio: 3,
BlockIDsMemRatio: 3,
BoostOfIDsMemRatio: 3,
@@ -170,7 +171,7 @@ var Defaults = Configuration{
StatusFaveIDsMemRatio: 3,
TagMemRatio: 3,
TombstoneMemRatio: 2,
- UserMemRatio: 0.1,
+ UserMemRatio: 0.25,
WebfingerMemRatio: 0.1,
VisibilityMemRatio: 2,
},