open-consul/agent/consul/multilimiter
Dhia Ayachi 11f245f24f
Server side rate limiter: handle the race condition for limiters tree write in multilimiter (#15767)
* change to perform all tree writes in the same go routine to avoid race condition.

* rename runStoreOnce to reconcile

* Apply suggestions from code review

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

* reduce nesting

Co-authored-by: Dan Upton <daniel@floppy.co>
2022-12-14 17:32:11 +00:00
..
testdata/fuzz/FuzzUpdateConfig add multilimiter and tests (#15467) 2022-12-08 14:42:07 -05:00
multilimiter.go Server side rate limiter: handle the race condition for limiters tree write in multilimiter (#15767) 2022-12-14 17:32:11 +00: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