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 1 year ago

chrisohaver commented 1 year 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 1 year ago

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