Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Cache does not limit number of items #157

@adbutterfield

Description

@adbutterfield

We noticed that there isn't a limit set on the max number of items in the cache, and also no way to set a limit.

In /lib/cache.js the constructor for ApiCache takes a limit argument, but when the constructor is invoked on line 869 of /lib/api.js no limit is passed.

Also, there is no default number of items set in /lib/lru.js.

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