The opportunity here in our codebase is TTL eviction — currently a known limitation in the readme (the broker accepts ttl but never evicts). Implementing it the naive way would be one timer per lock; implementing it the way upstream issue #13 suggests is one periodic sweep over a sorted deadline structure. Let me do that:
The opportunity here in our codebase is TTL eviction — currently a known limitation in the readme (the broker accepts ttl but never evicts). Implementing it the naive way would be one timer per lock; implementing it the way upstream issue #13 suggests is one periodic sweep over a sorted deadline structure. Let me do that: