open-consul/agent/grpc-internal
John Murret 2a0aeb2349
Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819)
* Rate limiting handler - ensure configuration has changed before modifying limiters

* Updating test to validate arguments to UpdateConfig

* Removing duplicate test.  Updating mock.

* Renaming NullRateLimiter to NullRequestLimitsHandler

* Rate Limit Handler - ensure rate limiting is not in the code path when not configured

* Update agent/consul/rate/handler.go

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>

* formatting handler.go

* Rate limiting handler - ensure configuration has changed before modifying limiters

* Updating test to validate arguments to UpdateConfig

* Removing duplicate test.  Updating mock.

* adding logging for when UpdateConfig is called but the config has not changed.

* Update agent/consul/rate/handler.go

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>

* Update agent/consul/rate/handler_test.go

Co-authored-by: Dan Upton <daniel@floppy.co>

* modifying existing variable name based on pr feedback

* updating a broken merge conflict;

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
Co-authored-by: Dan Upton <daniel@floppy.co>
2022-12-20 15:00:22 -07:00
..
balancer Break instead (#15844) 2022-12-19 11:53:05 -07:00
resolver Add custom balancer to always remove subConns (#15701) 2022-12-19 17:39:31 +00:00
services/subscribe Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819) 2022-12-20 15:00:22 -07:00
client.go Add custom balancer to always remove subConns (#15701) 2022-12-19 17:39:31 +00:00
client_test.go
handler.go adding config for request_limits (#15531) 2022-12-13 13:09:55 -07:00
handler_test.go
server_test.go Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819) 2022-12-20 15:00:22 -07:00
stats_test.go Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819) 2022-12-20 15:00:22 -07:00