Skip to content

Introduce RateLimiterFactoryInterface #40391

Closed
@BackEndTea

Description

@BackEndTea

Description
Currently we are using the new rate limiter in a non framework project.

When i want t inject the ratelimiter factory, it becomes a bit of a hassle to inject a rate limiter factory that always returns a NoLimiter, as we still need to set the 'id', and inject a storage class.

Id like to inject my own variation for tests, so i can test without limiters, or with a limiter that is over the limit already.

By having an interface i can write my own implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions