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

Added a function to evict all elements older than the cache TTL #5464

Merged
merged 15 commits into from
Dec 5, 2023

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    42b41b7 View commit details
    Browse the repository at this point in the history
  2. Fixed comment

    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    6a3b44a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e0d06c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13873b0 View commit details
    Browse the repository at this point in the history
  5. Made evictItemsPastTimeToLive not exposed

    Also deleted the tests explicitly testing this as it's no longer part of the API
    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    349e946 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    333cbee View commit details
    Browse the repository at this point in the history
  7. Now that evictExpiredItems is private, we can use the locks we alread…

    …y have. Changed to use existing locks
    
    Also fixed another comment
    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    1487041 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9e7a10d View commit details
    Browse the repository at this point in the history
  9. make time mockable

    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    2d622df View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b97f78b View commit details
    Browse the repository at this point in the history
  11. Mocked time in the test

    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    9a53c93 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e995391 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    774717d View commit details
    Browse the repository at this point in the history
  14. Refacted the deletion loop

    jakobht committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    9f84937 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bb7b6aa View commit details
    Browse the repository at this point in the history