open-consul/agent/consul/multilimiter
John Murret 8c33d7cc0e
Rate limiting handler - ensure configuration has changed before modifying limiters (#15805)
* 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>

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2022-12-20 14:12:03 -07:00
..
testdata/fuzz/FuzzUpdateConfig add multilimiter and tests (#15467) 2022-12-08 14:42:07 -05:00
mock_RateLimiter.go Rate limiting handler - ensure configuration has changed before modifying limiters (#15805) 2022-12-20 14:12:03 -07:00
multilimiter.go Rate limiting handler - ensure configuration has changed before modifying limiters (#15805) 2022-12-20 14:12:03 -07:00
multilimiter_test.go Server side rate limiter: handle the race condition for limiters tree write in multilimiter (#15767) 2022-12-14 17:32:11 +00:00