diff options
author | 2023-05-08 19:03:38 +0200 | |
---|---|---|
committer | 2023-05-08 18:03:38 +0100 | |
commit | cbb9e2d3f04e06365bfe42769f02c8b667ce531d (patch) | |
tree | 9de8a24096c352919232b1774d21e2440fdf3a7f /internal/config/config.go | |
parent | [bugfix] Punycode fixes (#1743) (diff) | |
download | gotosocial-cbb9e2d3f04e06365bfe42769f02c8b667ce531d.tar.xz |
[chore/performance] Make sender multiplier configurable (#1750)
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index ab353f32a..a1570bbaf 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -141,6 +141,7 @@ type Configuration struct { AdvancedRateLimitRequests int `name:"advanced-rate-limit-requests" usage:"Amount of HTTP requests to permit within a 5 minute window. 0 or less turns rate limiting off."` AdvancedThrottlingMultiplier int `name:"advanced-throttling-multiplier" usage:"Multiplier to use per cpu for http request throttling. 0 or less turns throttling off."` AdvancedThrottlingRetryAfter time.Duration `name:"advanced-throttling-retry-after" usage:"Retry-After duration response to send for throttled requests."` + AdvancedSenderMultiplier int `name:"advanced-sender-multiplier" usage:"Multiplier to use per cpu for batching outgoing fedi messages. 0 or less turns batching off (not recommended)."` // Cache configuration vars. Cache CacheConfiguration `name:"cache"` |