diff options
| author | 2025-04-09 16:32:13 +0000 | |
|---|---|---|
| committer | 2025-04-09 17:32:13 +0100 | |
| commit | b1a4d54c14647827aaf3c8174e2896b12d0f9608 (patch) | |
| tree | a66cbe831407565a6b7af421c5e659e08fd7306c /internal/config/defaults.go | |
| parent | [bugfix] Fix a couple accessibility issues with `:focus` elements (#3979) (diff) | |
| download | gotosocial-b1a4d54c14647827aaf3c8174e2896b12d0f9608.tar.xz | |
[chore] add IPPrefixes type so we don't need separate rate limit parsed field (#3982)
* add IPPrefixes type so we don't need separate rate limit parsed field
* sshhhh please linter, mommy's working
Diffstat (limited to 'internal/config/defaults.go')
| -rw-r--r-- | internal/config/defaults.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 78a8230d5..9a507b421 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -136,7 +136,7 @@ var Defaults = Configuration{ AdvancedCookiesSamesite: "lax", AdvancedRateLimitRequests: 300, // 1 per second per 5 minutes - AdvancedRateLimitExceptions: []string{}, + AdvancedRateLimitExceptions: IPPrefixes{}, AdvancedThrottlingMultiplier: 8, // 8 open requests per CPU AdvancedThrottlingRetryAfter: time.Second * 30, AdvancedSenderMultiplier: 2, // 2 senders per CPU |
