coredns / rrl

Response Rate Limiting Plugin for CoreDNS
Apache License 2.0
23 stars 21 forks source link

fix: rrl eviction function and deadlock on eviction failure #38

Closed chrisohaver closed 2 years ago

chrisohaver commented 2 years ago

Fixes the rrl cache eviction function (#37) and the deadlock on eviction failure (#36)

Also refactor shard item type from *interface{} to interface{} and fix unit tests that depended on it.

Signed-off-by: Chris O'Haver cohaver@infoblox.com

markdingo commented 2 years ago

I like the changes. Looks a little cleaner as well, which is always nice.