Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix small eviction bug; add the ability to track evictions #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frobcode
Copy link

Hello! I wanted to be able to track evictions, and found a fun little bug in the eviction code (if you update an existing value, it will delete the oldest value in the dict).

Thanks for this handy class!

@frobcode frobcode force-pushed the fix_eviction_bug_and_track_evictions branch from a50ebb6 to 726b4b8 Compare April 30, 2018 15:24
nicktimko pushed a commit to nicktimko/expiringdict that referenced this pull request Jan 21, 2020
Minimal version of PR mailgun#32 without adding a counter.
horkhe added a commit that referenced this pull request Jan 27, 2020
Fix bug when setting existing key in full dict (minimal version of PR #32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants