Skip to content

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

Open
frobcode wants to merge 2 commits intomailgun:masterfrom
frobcode:fix_eviction_bug_and_track_evictions
Open

Fix small eviction bug; add the ability to track evictions#32
frobcode wants to merge 2 commits intomailgun:masterfrom
frobcode:fix_eviction_bug_and_track_evictions

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