gotosocial/internal/config
tobi 90a14abb0c
[feature] HTTP request throttling middleware (#1297)
* [feature] Add throttling middleware to AP endpoints

* refactor a lil bit

* use config setting, start updating docs

* doc updates

* use relative links in faq doc

* small docs fixes

* return code 503 instead of 429 when throttled

* throttle other endpoints too

* simplify token channel prefills
2023-01-04 11:57:59 +01:00
..
gen [chore] fix some little config whoopsies (#1272) 2022-12-16 22:38:41 +00:00
testdata [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
config_test.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
config.go [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
defaults.go [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
flags.go [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
global.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
helpers.gen.go [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
state.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
validate_test.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
validate.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00