summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-08 19:03:38 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-08 18:03:38 +0100
commitcbb9e2d3f04e06365bfe42769f02c8b667ce531d (patch)
tree9de8a24096c352919232b1774d21e2440fdf3a7f /internal/config/defaults.go
parent[bugfix] Punycode fixes (#1743) (diff)
downloadgotosocial-cbb9e2d3f04e06365bfe42769f02c8b667ce531d.tar.xz
[chore/performance] Make sender multiplier configurable (#1750)
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 999b81c65..1dc446e4c 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -116,6 +116,7 @@ var Defaults = Configuration{
AdvancedCookiesSamesite: "lax",
AdvancedRateLimitRequests: 300, // 1 per second per 5 minutes
AdvancedThrottlingMultiplier: 8, // 8 open requests per CPU
+ AdvancedSenderMultiplier: 2, // 2 senders per CPU
Cache: CacheConfiguration{
GTS: GTSCacheConfiguration{