Skip to content

use sliding window algorithm for rate limiting #2066

Open
@melonges

Description

@melonges

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

it seems to me that in such a critical module there is no place to use setTimeout

Describe the solution you'd like

implementation of the sliding window

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

using algorithm that does not require a lot of memory and without using setTimeout

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