gotosocial/internal/middleware
kim 70739d32cc
[performance] remove throttling timers (#1466)
* remove throttling timers, support setting retry-after, use retry-after in transport

* remove unused variables

* add throttling-retry-after to cmd flags

* update envparsing to include new throttling-retry-after

* update example config to include retry-after documentation

* also support retry-after formatted as date-time, ensure max backoff time

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-02-10 20:16:01 +00:00
..
cachecontrol.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
cors.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
extraheaders.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
gzip.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
logger.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
ratelimit.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
session_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
session.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
signaturecheck.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
throttling.go [performance] remove throttling timers (#1466) 2023-02-10 20:16:01 +00:00
tokencheck.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
useragent.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00