Skip to content

Cache is trimmed only after cache hits.  #112

Description

@danikula

@anuvakkachen noticed:

There's something I wanted to ask you about this. I noticed that the cache is trimmed only when there's a cache hit. I was wondering whether this is the intended behavior of this cache. It so happens that when I have several consecutive cache misses ,the cache gets full and grows beyond max size until there's a cache hit where upon everything gets trimmed. I might have missed something . Looking forward to hearing from you about this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions