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

Revert #135 and add tests for eviction callback #154

Merged
merged 2 commits into from Aug 24, 2023
Merged

Commits on Aug 23, 2023

  1. Revert "call evict on replacing value (#135)"

    This reverts commit d260bc0.
    mgaffney committed Aug 23, 2023
    Copy the full SHA
    0ed35fd View commit details
    Browse the repository at this point in the history
  2. test: Add tests for eviction callback

    This adds tests to verify that calling Add, ContainsOrAdd, or PeekOrAdd
    with a key that is already in the cache does not trigger an eviction or
    an eviction callback.
    mgaffney committed Aug 23, 2023
    Copy the full SHA
    8f8764f View commit details
    Browse the repository at this point in the history