mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-22 15:57:30 -06:00
[feature] Make rate limit requests amount configurable (#966)
* update rate limit documentation * regenerate landingpage config helpers * make rate limit rate configurable
This commit is contained in:
parent
15be35673e
commit
4d66fb9603
13 changed files with 128 additions and 44 deletions
|
|
@ -121,6 +121,7 @@ func AddServerFlags(cmd *cobra.Command) {
|
|||
|
||||
// Advanced flags
|
||||
cmd.Flags().String(AdvancedCookiesSamesiteFlag(), cfg.AdvancedCookiesSamesite, fieldtag("AdvancedCookiesSamesite", "usage"))
|
||||
cmd.Flags().Int(AdvancedRateLimitRequestsFlag(), cfg.AdvancedRateLimitRequests, fieldtag("AdvancedRateLimitRequests", "usage"))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue