open-consul/agent/consul/rate
Dan Upton f24f8c681f
Rate limit improvements and fixes (#15917)
- Fixes a panic when Operation.SourceAddr is nil (internal net/rpc calls)
- Adds proper HTTP response codes (429 and 503) for rate limit errors
- Makes the error messages clearer
- Enables automatic retries for rate-limit errors in the net/rpc stack
2023-01-09 10:20:05 +00:00
..
handler.go Rate limit improvements and fixes (#15917) 2023-01-09 10:20:05 +00:00
handler_test.go emit metrics for global rate limiting (#15891) 2023-01-06 17:49:33 -06:00
metrics.go inject logger and create logdrop sink (#15822) 2023-01-06 11:33:53 -07:00
mock_LeaderStatusProvider_test.go Wire in rate limiter to handle internal and external gRPC calls (#15857) 2022-12-23 13:42:16 -06:00
mock_RequestLimitsHandler.go Wire up the rate limiter to net/rpc calls (#15879) 2023-01-04 13:38:44 -06:00