Commit Graph

8 Commits (46a16b91e5961ba393ebe183a43c90bff534add2)

Author SHA1 Message Date
Jeff Mitchell 35cef97bd4
Linter fixes PR 3 (#4415)
2 years ago
Timothy Messier 6e233c879f
fix(ratelimit): Round up when setting Retry-After header
2 years ago
Timothy Messier d0c3da5f1d
refact(ratelimiter): Updates due to refactor in go-rate
2 years ago
Timothy Messier 0bc423ebd8
feat(controller): Reload api rate limits on SIGHUP
2 years ago
Timothy Messier f54f2c0fc4
fix(ratelimit): Correctly extract ids from paths with punctuation
2 years ago
Timothy Messier 26854b01a8
feat(ratelimit): Set RateLimit and RateLimit-Policy headers
2 years ago
Timothy Messier 059d4992de
feat(ratelimit): Add support for limits per ip address and auth token
2 years ago
Timothy Messier 2853324479
feat(ratelimit): Add http middleware handler function
2 years ago