Skip to content

Flush out old logs that have expired (MemoryRateHandler) #3

@palmerabollo

Description

@palmerabollo

Express-rate should flush out very old remote logs that have expired (redis does that for you).

One alternative is to use node-cache, an in-memory cache with a put = function(key, value, time) function that handles the expiration times for you.

I could implement it if you are interested on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions