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

Delete expired items before setting #132

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

Commits on Oct 14, 2020

  1. Delete expired items before setting

    Check if an item exists and it has expired before setting so that
    onEvicted is actually called.
    
    Fixes patrickmn#48.
    
    Add test and split func
    
    Use nanoseconds instead
    
    Call onEvicted if item existed before setting
    
    Call onEvicted if item.Expired
    jaimem88 committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    38560f5 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Fix eviction check

    jaimem88 committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    9b97ae7 View commit details
    Browse the repository at this point in the history