Skip to content

CRITICAL ERROR: maxKeys: 250 #47

@K4leri

Description

@K4leri

Acording code

const statCache = new Cache({
    useClones: false,
    checkperiod: 5 * 60,
    stdTTL: 3 * 60 * 60,
    maxKeys: 250
})

const fileCache = new Cache({
    useClones: false,
    checkperiod: 5 * 60,
    stdTTL: 3 * 60 * 60,
    maxKeys: 250
})

const htmlCache = new Cache({
    useClones: false,
    checkperiod: 5 * 60,
    stdTTL: 3 * 60 * 60,
    maxKeys: 250
})

What steps can reproduce the bug?
its only accessable 250 elements in each Cache. And there is no way to inrease limits.
When i have 1000 elements i encounter this problem and there is no way to inrease limits. All files after 250 give me errors 404.

I am trying to cache all my fonts.

staticLimit: 999999999 doesnt work.

What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64

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