Skip to content

Potential memory leak in memory store #19

@jwoertink

Description

@jwoertink

Currently expired items aren't evicted from the cache. So if you store a bunch of items that expire and never get refreshed, all of those cached items will remain in memory.

When we read from cache and the item is expired, we should remove it from the cache before returning nil to ensure that it gets cleaned up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions